aboutsummaryrefslogtreecommitdiff
path: root/templates/admin_users.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-09 22:06:33 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-09 22:06:33 +0100
commit43825b1bbc02e9b1697b965a1621a936c5ae0334 (patch)
tree19945695086a20c8f8aedda7c90e171b61638b41 /templates/admin_users.html
parentf929ca7297905e4233aa32fe2d80dd4cc3fcda30 (diff)
downloadguichet-43825b1bbc02e9b1697b965a1621a936c5ae0334.tar.gz
guichet-43825b1bbc02e9b1697b965a1621a936c5ae0334.zip
LDAP modification form
Diffstat (limited to 'templates/admin_users.html')
-rw-r--r--templates/admin_users.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/admin_users.html b/templates/admin_users.html
index 39e291c..01d96d2 100644
--- a/templates/admin_users.html
+++ b/templates/admin_users.html
@@ -9,7 +9,7 @@
<table class="table mt-4">
<thead>
- <th scope="col">{{ .UserNameAttr }}</th>
+ <th scope="col">Identifiant</th>
<th scope="col">Nom complet</th>
<th scope="col">Email</th>
</thead>
@@ -17,7 +17,11 @@
{{with $root := .}}
{{range $user := $root.Users}}
<tr>
- <td>{{$user.GetAttributeValue $root.UserNameAttr}}</td>
+ <td>
+ <a href="/admin/ldap/{{$user.DN}}">
+ {{$user.GetAttributeValue $root.UserNameAttr}}
+ </a>
+ </td>
<td>{{$user.GetAttributeValue "displayname"}}</td>
<td>{{$user.GetAttributeValue "mail"}}</td>
</tr>