now hiding administration from non administrators
This commit is contained in:
parent
e31200e2e7
commit
947ab624b4
1 changed files with 6 additions and 4 deletions
|
@ -24,10 +24,12 @@
|
|||
<li>
|
||||
<a href=@{LogoutR}>
|
||||
Logout
|
||||
$maybe _ <- madmin
|
||||
<li>
|
||||
<a href=@{AdminR} .red>
|
||||
Administration
|
||||
$case madmin
|
||||
$of Just admin
|
||||
$if admin
|
||||
<li>
|
||||
<a href=@{AdminR} .red>
|
||||
Administration
|
||||
$nothing
|
||||
<li>
|
||||
<a href=@{LoginR}>
|
||||
|
|
Loading…
Reference in a new issue