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,7 +24,9 @@
|
||||||
<li>
|
<li>
|
||||||
<a href=@{LogoutR}>
|
<a href=@{LogoutR}>
|
||||||
Logout
|
Logout
|
||||||
$maybe _ <- madmin
|
$case madmin
|
||||||
|
$of Just admin
|
||||||
|
$if admin
|
||||||
<li>
|
<li>
|
||||||
<a href=@{AdminR} .red>
|
<a href=@{AdminR} .red>
|
||||||
Administration
|
Administration
|
||||||
|
|
Loading…
Reference in a new issue