clean up admin links
This commit is contained in:
parent
f263913c6b
commit
ff9f1380a3
@ -55,3 +55,4 @@ AddExtraPoints: add points freely
|
||||
ExtraPointsPoints: Points to be added
|
||||
ExtraPointsDescription: Describe why they are added
|
||||
User: User
|
||||
Manage: manage
|
||||
|
@ -10,9 +10,12 @@
|
||||
<li><a href="@{TagsR}">_{MsgListTags}</a>
|
||||
<li><a href="@{AchievementsR}">_{MsgAchievements}</a>
|
||||
$if userIsAdmin $ entityVal user
|
||||
<li><a href="@{CreateChallengeR}">_{MsgCreateChallenge}</a>
|
||||
<li><a href="@{CreateResetLinkR}">_{MsgCreateResetLink}</a>
|
||||
<li><a href="@{ExtraPointsR}">_{MsgAddExtraPoints}</a>
|
||||
<li class="dropdown">
|
||||
<a id="admin" href="#" class="dropdown-toggle" data-toggle="dropdown">_{MsgManage}<span class="caret"></span>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="@{CreateChallengeR}">_{MsgCreateChallenge}</a>
|
||||
<li><a href="@{CreateResetLinkR}">_{MsgCreateResetLink}</a>
|
||||
<li><a href="@{ExtraPointsR}">_{MsgAddExtraPoints}</a>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
|
Loading…
Reference in New Issue
Block a user