diff options
author | Alex Auvolat <alex@adnab.me> | 2023-02-08 11:58:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-02-08 11:58:46 +0100 |
commit | cd415325729fddea26c816291bb33171b9cc4879 (patch) | |
tree | b47c3b255d1e9293033d238002c5a6ab1256b1bf /templates | |
parent | ca41c481b189092843cfb8c4382501037131a69a (diff) | |
download | guichet-cd415325729fddea26c816291bb33171b9cc4879.tar.gz guichet-cd415325729fddea26c816291bb33171b9cc4879.zip |
Slight improvements to admin view
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin_ldap.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/templates/admin_ldap.html b/templates/admin_ldap.html index 5867209..57ef0f4 100644 --- a/templates/admin_ldap.html +++ b/templates/admin_ldap.html @@ -23,7 +23,17 @@ <table class="table mt-4"> <tbody> - {{range .Children}} + {{range .ChildrenOU}} + <tr> + <td> + <a href="/admin/ldap/{{.DN}}"> + 🗀 {{.Identifier}} + </a> + </td> + <td>{{.Name}}</td> + </tr> + {{end}} + {{range .ChildrenOther}} <tr> <td> <a href="/admin/ldap/{{.DN}}"> @@ -94,7 +104,11 @@ <div class="col-md-3"><strong>{{$key}}</strong></div> <div class="col-md-9"> {{range $value.Values}} - <div>{{.}}</div> + {{if eq $key "creatorsname" "modifiersname" }} + <div><a href="/admin/ldap/{{.}}">{{.}}</a></div> + {{else}} + <div>{{.}}</div> + {{end}} {{end}} </div> </div> |