guichet/templates/admin_activate.html

27 lines
745 B
HTML
Raw Normal View History

2023-07-21 04:51:56 +00:00
{{define "title"}}Activer des utilisateurs |{{end}}
2023-07-21 04:58:43 +00:00
{{define "body"}}
2023-07-21 04:51:56 +00:00
<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 05:24:42 +00:00
<a href="/admin/activate/{{$user.CN}}">
2023-07-21 05:00:35 +00:00
{{$user.GetAttributeValue "cn"}}
2023-07-21 04:51:56 +00:00
</a>
</td>
<td>{{$user.GetAttributeValue "mail"}}</td>
2023-07-21 05:00:35 +00:00
<td>{{$user.GetAttributeValue "displayName"}}</td>
2023-07-21 04:51:56 +00:00
<td>{{$user.GetAttributeValue "sn"}}</td>
<td>{{$user.GetAttributeValue "description"}}</td>
</tr>
{{end}}
{{end}}
</tbody>
2023-07-21 04:58:43 +00:00
</table>
{{end}}