minor changes
This commit is contained in:
@@ -81,6 +81,11 @@
|
||||
<a href="{% url 'profiles:settings' %}">
|
||||
<i class="fas fa-key"></i> API Tokens
|
||||
</a>
|
||||
{% if user.is_staff %}
|
||||
<a href="{% url 'admin:index' %}">
|
||||
<i class="fas fa-shield-alt"></i> Admin panel
|
||||
</a>
|
||||
{% endif %}
|
||||
<form method="post" action="{% url 'profiles:logout' %}" style="display: inline;">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="logout-button">
|
||||
|
||||
Reference in New Issue
Block a user