G Pas
This commit is contained in:
parent
abd38704a4
commit
41938b700b
1 changed files with 22 additions and 0 deletions
|
@ -1,4 +1,26 @@
|
||||||
{{define "title"}}Mot de passe |{{end}}
|
{{define "title"}}Mot de passe |{{end}}
|
||||||
|
{{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}}
|
||||||
|
<li><a href="/logout">Se déconnecter</a></li>
|
||||||
|
{{else}}
|
||||||
|
<li><a href="/">Se connecter</a>
|
||||||
|
<ul class="submenu">
|
||||||
|
<li><a href="/">Se connecter</a></li>
|
||||||
|
<li><a href="/gpas">Mal de passe oublié</a></li>
|
||||||
|
<li><a href="/invite/new_account">S'enregistrer</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
||||||
|
|
||||||
{{define "admenu"}}
|
{{define "admenu"}}
|
||||||
{{if .Login.CanAdmin}}
|
{{if .Login.CanAdmin}}
|
||||||
|
|
Loading…
Reference in a new issue