8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 15:12:25 +00:00

Information buttons

This commit is contained in:
Maël Kervella 2018-01-01 20:12:53 +00:00 committed by root
parent 3c455a6f82
commit 180fc1272c

View file

@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<tr> <tr>
<th>Droit</th> <th>Droit</th>
<th>Gid</th> <th>Gid</th>
<th>Permissions</th> <th>Informations</th>
<th>Details</th> <th>Details</th>
<th></th> <th></th>
</tr> </tr>
@ -35,15 +35,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% for listright in listright_list %} {% for listright in listright_list %}
<tr class="active"> <tr class="active">
<td> <td>
<a data-toggle="collapse" data-parent="#accordion_{{listright.gid}}" href="#collapseListRight_user_{{listright.gid}}" aria-expanded="true" aria-controls="collapseListRight_user_{{listright.gid}}"> {{ listright.name }}
{{ listright.name }} ({{listright.user_set.all|length}} users)
</a>
</td> </td>
<td>{{ listright.gid }}</td> <td>{{ listright.gid }}</td>
<td> <td>
<div class="dropdown"> <div class="dropdown">
<button class="btn btn-default" data-parent="#accordion_{{listright.gid}}" type="button" data-toggle="collapse" data-target="#collapseListRight_perm_{{listright.gid}}" aria-expanded="true" aria-controls="collapseListRight_perm_{{listright.gid}}"> <button class="btn btn-default" data-parent="#accordion_{{listright.gid}}" type="button" data-toggle="collapse" data-target="#collapseListRight_user_{{listright.gid}}" aria-expanded="true" aria-controls="collapseListRight_user_{{listright.gid}}">
Ensemble des permissions Utilisateurs ({{ listright.user_set.all|length }})
</button>
<button class="btn btn-default" data-parent="#accordion_{{listright.gid}}" type="button" data-toggle="collapse" data-target="#collapseListRight_perm_{{listright.gid}}" aria-expanded="true" aria-controls="collapseListRight_perm_{{listright.gid}}">
Ensemble des permissions ({{ listright.permissions.all|length }})
</button> </button>
</div> </div>
</td> </td>