aboutsummaryrefslogtreecommitdiff
path: root/templates/admin_ldap.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-09 22:43:24 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-09 22:43:24 +0100
commite51bff05d225ce68143b0aefa282116fe5eb587f (patch)
treeb09a71d7b6ec7ecd0b223770a40bfbf3defe6d6c /templates/admin_ldap.html
parentdb9840a6f1d708ca3c333761fd051f328c2bd9f3 (diff)
downloadguichet-e51bff05d225ce68143b0aefa282116fe5eb587f.tar.gz
guichet-e51bff05d225ce68143b0aefa282116fe5eb587f.zip
Also show groups/members when none are present for some object classes
Diffstat (limited to 'templates/admin_ldap.html')
-rw-r--r--templates/admin_ldap.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin_ldap.html b/templates/admin_ldap.html
index b72f587..fa4b934 100644
--- a/templates/admin_ldap.html
+++ b/templates/admin_ldap.html
@@ -51,7 +51,7 @@
{{range $key, $value := .Props}}
{{if $value.Editable}}
<div class="row mt-4">
- <div class="col-md-3"><strong>{{$key}}</strong></div>
+ <div class="col-md-3"><strong>{{$value.Name}}</strong></div>
<div class="col-md-7">
<form method="POST">
@@ -106,7 +106,7 @@
</form>
</div>
-{{if .Members}}
+{{if .HasMembers}}
<hr class="mt-4" />
<h5 class="mt-4">Membres</h5>
<div class="container">
@@ -143,7 +143,7 @@
</div>
{{end}}
-{{if .Groups}}
+{{if .HasGroups}}
<hr class="mt-4" />
<h5 class="mt-4">Membre de</h5>
<div class="container">