diff options
Diffstat (limited to 'templates/admin_users.html')
-rw-r--r-- | templates/admin_users.html | 8 |
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> |