From edc75d18b792e19157107050abd35d832e46665a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 9 Feb 2020 17:52:48 +0100 Subject: Do not always show invite and admin links --- templates/home.html | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/home.html b/templates/home.html index d55b45f..3f91e7b 100644 --- a/templates/home.html +++ b/templates/home.html @@ -2,7 +2,7 @@ {{define "body"}}
- Bienvenue, {{ .UserEntry.GetAttributeValue "givenname" }} ! + Bienvenue, {{ .Login.UserEntry.GetAttributeValue "givenname" }} !
Se déconnecter @@ -16,19 +16,23 @@
-
-
- Administration -
-
- Utilisateurs - Groupes - Explorateur LDAP +{{if .CanAdmin}} +
+
+ Administration +
+
-
+{{end}} {{end}} -- cgit v1.2.3