mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Added admin icon
This commit is contained in:
parent
d5408290b7
commit
1790db61f3
@ -6,6 +6,11 @@
|
|||||||
<div class="py-8 px-32">
|
<div class="py-8 px-32">
|
||||||
{% if user.is_authenticated and user == page_owner %}
|
{% if user.is_authenticated and user == page_owner %}
|
||||||
<div class="flex justify-end gap-4">
|
<div class="flex justify-end gap-4">
|
||||||
|
{% if user.is_staff %}
|
||||||
|
<a href="/admin">
|
||||||
|
<i class="fa-solid fa-users-gear fa-2xl"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{% url "logout" %}">
|
<a href="{% url "logout" %}">
|
||||||
<i class="fa-solid fa-right-from-bracket fa-2xl"></i>
|
<i class="fa-solid fa-right-from-bracket fa-2xl"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user