fnp
/
cas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nicer for admin.
[cas.git]
/
src
/
accounts
/
templates
/
account
/
base.html
diff --git
a/src/accounts/templates/account/base.html
b/src/accounts/templates/account/base.html
index
18aa501
..
9cdc8ee
100644
(file)
--- a/
src/accounts/templates/account/base.html
+++ b/
src/accounts/templates/account/base.html
@@
-16,6
+16,10
@@
<p><a {% if menu == 'ssh' %}class="active"{% endif %} href="{% url 'ssh_keys' %}">{% trans "SSH keys" %}</a></p>
{% endif %}
{% endblock %}
<p><a {% if menu == 'ssh' %}class="active"{% endif %} href="{% url 'ssh_keys' %}">{% trans "SSH keys" %}</a></p>
{% endif %}
{% endblock %}
+
+ {% if request.user.is_staff %}
+ <p><a href='/admin/'>{% trans "Administration" %}</a></p>
+ {% endif %}
<p><a href="{% url 'cas_logout' %}">{% trans "Logout" %}</a></p>
</aside>
<p><a href="{% url 'cas_logout' %}">{% trans "Logout" %}</a></p>
</aside>