diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/identity/_menu.html | 6 | ||||
-rw-r--r-- | templates/settings/_menu.html | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/identity/_menu.html b/templates/identity/_menu.html index f841284..c6c375b 100644 --- a/templates/identity/_menu.html +++ b/templates/identity/_menu.html @@ -8,4 +8,10 @@ <a href="/auth/logout/"> <i class="fa-solid fa-right-from-bracket"></i> Logout </a> + {% if request.user.admin %} + <h3>Administration</h3> + <a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %}> + <i class="fa-solid fa-globe"></i> Domains + </a> + {% endif %} </nav> diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html index 21bc048..1cccf6b 100644 --- a/templates/settings/_menu.html +++ b/templates/settings/_menu.html @@ -9,7 +9,6 @@ <a href="{% url "settings_follows" %}" {% if section == "follows" %}class="selected"{% endif %}> <i class="fa-solid fa-arrow-right-arrow-left"></i> Follows </a> - {% if request.user.admin %} <h3>Account</h3> <a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %}> <i class="fa-solid fa-key"></i> Login & Security @@ -17,6 +16,7 @@ <a href="/auth/logout/"> <i class="fa-solid fa-right-from-bracket"></i> Logout </a> + {% if request.user.admin %} <h3>Administration</h3> <a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %}> <i class="fa-solid fa-book"></i> Basic |