This commit is contained in:
Chris Mann 2023-07-23 18:49:10 +02:00
parent 81be7cf614
commit 6559aa84ec

View file

@ -1,14 +1,5 @@
{{define "title"}}Profile |{{end}} {{define "title"}}Profile |{{end}}
{{define "admenu"}} {{define "admenu"}}
{{if .Login.CanAdmin}}
<li><a href="/admin/activate">Administrer LDAP</a>
<ul class="submenu">
<li><a href="/admin/activate">Activer des Utilisateur·ices</a></li>
<li><a href="/admin/users">Utilisateur·ices</a></li>
<li><a href="/admin/groups">Groupes</a></li>
</ul>
</li>
{{end}}
{{if .Login}} {{if .Login}}
<li><a href="/logout">Se déconnecter</a></li> <li><a href="/logout">Se déconnecter</a></li>
{{else}} {{else}}