diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-10 15:26:02 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-10 15:26:02 +0100 |
commit | e2e8a443ae0d5dbc72e4a5914af0cb3dad5e2a0b (patch) | |
tree | 634813b813e10cb387bd77846a83f44d2f8dea5d /templates | |
parent | 61a76f624decd9d9ef3afadaf584d46fe56e0817 (diff) | |
download | guichet-e2e8a443ae0d5dbc72e4a5914af0cb3dad5e2a0b.tar.gz guichet-e2e8a443ae0d5dbc72e4a5914af0cb3dad5e2a0b.zip |
Better tools for initial setup
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> |