aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-02-08 11:58:46 +0100
committerAlex Auvolat <alex@adnab.me>2023-02-08 11:58:46 +0100
commitcd415325729fddea26c816291bb33171b9cc4879 (patch)
treeb47c3b255d1e9293033d238002c5a6ab1256b1bf /templates
parentca41c481b189092843cfb8c4382501037131a69a (diff)
downloadguichet-cd415325729fddea26c816291bb33171b9cc4879.tar.gz
guichet-cd415325729fddea26c816291bb33171b9cc4879.zip
Slight improvements to admin view
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_ldap.html18
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>