summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-19 10:36:51 -0700
committerAndrew Godwin2022-11-19 10:36:51 -0700
commit774e91c8a24b85130eb61f2eebf9834ac38fa468 (patch)
treee099241bcbd158f3db7e0650ace777f508203485 /templates
parent2142677b015507bc1aeb6179c5dfc4dfa3aaf0ce (diff)
downloadtakahe-774e91c8a24b85130eb61f2eebf9834ac38fa468.tar.gz
takahe-774e91c8a24b85130eb61f2eebf9834ac38fa468.tar.bz2
takahe-774e91c8a24b85130eb61f2eebf9834ac38fa468.zip
More docs setup
Diffstat (limited to 'templates')
-rw-r--r--templates/identity/_menu.html6
-rw-r--r--templates/settings/_menu.html2
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 &amp; 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