forked from filipg/gonito
only admins can see "add challenge"
This commit is contained in:
parent
1846e10016
commit
f57d80637b
@ -2,6 +2,7 @@
|
||||
$maybe user <- maybeUser
|
||||
_{MsgLoggedAs} #{userIdent $ entityVal user}
|
||||
\ | <a href="@{HomeR}">_{MsgHome}</a>
|
||||
$if userIsAdmin $ entityVal user
|
||||
\ | <a href="@{CreateChallengeR}">_{MsgCreateChallenge}</a>
|
||||
\ | <a href="@{ListChallengesR}">_{MsgListChallenges}</a>
|
||||
\ | <a href="@{YourAccountR}">_{MsgYourAccount}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user