2020-02-09 21:06:33 +00:00
|
|
|
{{define "title"}}Liste des groupes |{{end}}
|
2023-07-24 08:36:34 +00:00
|
|
|
|
2023-07-23 15:18:29 +00:00
|
|
|
{{define "admenu"}}
|
|
|
|
{{end}}
|
2023-07-24 08:36:34 +00:00
|
|
|
|
|
|
|
|
2020-02-09 21:06:33 +00:00
|
|
|
{{define "body"}}
|
|
|
|
|
|
|
|
<div class="d-flex">
|
2023-07-21 14:18:40 +00:00
|
|
|
<h2>Liste des groupes</h2>
|
2023-07-25 20:00:07 +00:00
|
|
|
<a class="ml-auto btn btn-success" href="/admin-create/group/{{.GroupBaseDN}}">Nouveau groupe</a>
|
2020-02-09 21:06:33 +00:00
|
|
|
</div>
|
|
|
|
|
2023-02-08 12:11:43 +00:00
|
|
|
<div class="alert alert-warning mt-4">
|
|
|
|
Les groupes servent uniquement à contrôler l'accès à différentes fonctionalités de Deuxfleurs.
|
2023-07-25 20:00:07 +00:00
|
|
|
Ce ne sont pas des <a href="/admin-mailing">mailing lists</a>.
|
2023-02-08 12:11:43 +00:00
|
|
|
</div>
|
|
|
|
|
2020-02-09 21:06:33 +00:00
|
|
|
<table class="table mt-4">
|
|
|
|
<thead>
|
|
|
|
<th scope="col">Identifiant</th>
|
|
|
|
<th scope="col">Nom complet</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{with $root := .}}
|
|
|
|
{{range $group := $root.Groups}}
|
|
|
|
<tr>
|
|
|
|
<td>
|
2023-07-25 20:00:07 +00:00
|
|
|
<a href="/admin-ldap/{{$group.DN}}">
|
2020-02-09 21:06:33 +00:00
|
|
|
{{$group.GetAttributeValue $root.GroupNameAttr}}
|
|
|
|
</a>
|
|
|
|
</td>
|
2020-02-12 14:54:17 +00:00
|
|
|
<td>{{$group.GetAttributeValue "description"}}</td>
|
2020-02-09 21:06:33 +00:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{{end}}
|