Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
d8325ae7
Commit
d8325ae7
authored
Sep 04, 2014
by
Chris Reffett
Browse files
Add admin menu
parent
140f6a89
Changes
1
Show whitespace changes
Inline
Side-by-side
go/go/templates/navigation.html
View file @
d8325ae7
...
...
@@ -13,7 +13,13 @@
{% if user.is_authenticated %}
<li><a
href=
"{% url 'my_links' %}"
>
My Links
</a></li>
{% if user.is_staff %}
<li><a
href=
"{% url 'useradmin' %}"
>
Administration
</a></li>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Administration
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"{% url 'useradmin' %}"
>
User Moderation
</a></li>
<li><a
href=
"{% url 'signup' %}"
>
Signup
</a></li>
</ul>
</li>
{% endif %}
<li><a
href=
"{% url 'go_logout' %}"
>
Log Out
</a></li>
{% else %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment