summaryrefslogtreecommitdiffstats
path: root/templates/identity/_menu.html
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/identity/_menu.html
parent2142677b015507bc1aeb6179c5dfc4dfa3aaf0ce (diff)
downloadtakahe-774e91c8a24b85130eb61f2eebf9834ac38fa468.tar.gz
takahe-774e91c8a24b85130eb61f2eebf9834ac38fa468.tar.bz2
takahe-774e91c8a24b85130eb61f2eebf9834ac38fa468.zip
More docs setup
Diffstat (limited to 'templates/identity/_menu.html')
-rw-r--r--templates/identity/_menu.html6
1 files changed, 6 insertions, 0 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>