Only show admin link to staff

This commit is contained in:
Seamus Johnston 2022-11-21 13:33:04 -06:00
parent f412276727
commit 1239f9d78a
No known key found for this signature in database
GPG key ID: 2F21225985069105

View file

@ -43,7 +43,9 @@
<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>
{% endif %}
<p><a href="{% url 'logout' %}">Click here to log out.</a></p>
{% else %}