2023-07-21 04:51:56 +00:00
|
|
|
{{define "title"}}Activer des utilisateurs |{{end}}
|
|
|
|
|
|
|
|
<table class="table mt-4">
|
|
|
|
<thead>
|
|
|
|
<th scope="col">Identifiant</th>
|
|
|
|
<th scope="col">Nom complet</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{with $root := .}}
|
|
|
|
{{range $user := $root.Users}}
|
|
|
|
<tr>
|
|
|
|
<td>
|
2023-07-21 04:55:54 +00:00
|
|
|
<a href="/admin/ldap/{{$user.DN}}">
|
2023-07-21 04:51:56 +00:00
|
|
|
{{$user.GetAttributeValue $user.UserNameAttr}}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>{{$user.GetAttributeValue "mail"}}</td>
|
|
|
|
<td>{{$user.GetAttributeValue "displayname"}}</td>
|
|
|
|
<td>{{$user.GetAttributeValue "sn"}}</td>
|
|
|
|
<td>{{$user.GetAttributeValue "description"}}</td>
|
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|