Menu system conform / propagation CanAdmin

This commit is contained in:
Chris Mann 2023-07-24 11:14:38 +02:00
parent 53d323570b
commit c414f5861d

View file

@ -53,7 +53,7 @@
<li><a href="https://wiki.lesgrandsvoisins.com">Wiki</a></li> <li><a href="https://wiki.lesgrandsvoisins.com">Wiki</a></li>
<li><a href="https://www.lesgrandsvoisins.com/admin">Admin</a></li> <li><a href="https://www.lesgrandsvoisins.com/admin">Admin</a></li>
</ul></li> </ul></li>
{{if .Login.CanAdmin}} {{if .CanAdmin}}
<li><a href="#">Administration</a> <li><a href="#">Administration</a>
<ul class="submenu"> <ul class="submenu">
<li><a href="/admin/activate">Administrer LDAP</a> <li><a href="/admin/activate">Administrer LDAP</a>