mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
Only show admin link to staff
This commit is contained in:
parent
f412276727
commit
1239f9d78a
1 changed files with 2 additions and 0 deletions
|
@ -43,7 +43,9 @@
|
||||||
|
|
||||||
<p><a href="{% url 'edit-profile' %}">Edit profile</a></p>
|
<p><a href="{% url 'edit-profile' %}">Edit profile</a></p>
|
||||||
|
|
||||||
|
{% if user.is_staff %}
|
||||||
<p><a href="{% url 'admin:index' %}">CISA admin panel</a></p>
|
<p><a href="{% url 'admin:index' %}">CISA admin panel</a></p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<p><a href="{% url 'logout' %}">Click here to log out.</a></p>
|
<p><a href="{% url 'logout' %}">Click here to log out.</a></p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue