diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin_ldap.html | 1 | ||||
-rw-r--r-- | templates/home.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/admin_ldap.html b/templates/admin_ldap.html index c7a0872..06d568c 100644 --- a/templates/admin_ldap.html +++ b/templates/admin_ldap.html @@ -40,6 +40,7 @@ <div class="mt-2"> <a class="btn btn-sm btn-success" href="/admin/create/user/{{.DN}}">+utilisateur</a> <a class="ml-4 btn btn-sm btn-success" href="/admin/create/group/{{.DN}}">+groupe</a> + <a class="ml-4 btn btn-sm btn-success" href="/admin/create/ou/{{.DN}}">+ou</a> <a class="ml-4 btn btn-sm btn-success" href="/admin/create/generic/{{.DN}}">+objet</a> </div> <hr class="mt-4" /> diff --git a/templates/home.html b/templates/home.html index 011dcc1..9a9773a 100644 --- a/templates/home.html +++ b/templates/home.html @@ -2,7 +2,7 @@ {{define "body"}} <div class="alert alert-info"> - Bienvenue, <strong>{{ .Login.UserEntry.GetAttributeValue "givenname" }}</strong> ! + Bienvenue, <strong>{{ .WelcomeName }}</strong> ! </div> <div class="d-flex"> <a class="ml-auto btn btn-sm btn-dark" href="/logout">Se déconnecter</a> |