pfidp/users_admin: add update buttons on index
This commit is contained in:
parent
782ed58f9b
commit
eb1506988a
|
@ -34,6 +34,7 @@
|
|||
<table class="table table-condensed table-striped" id="usersTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th data-sort="string">login</th>
|
||||
<th data-sort="string">actif?</th>
|
||||
<th data-sort="string">expiration</th>
|
||||
|
@ -51,6 +52,9 @@
|
|||
<tbody>
|
||||
{% for user in users.values|dictsort:"name" %}
|
||||
<tr {% if user.disabled or user.ttl == 0 %} class="disabled"{% endif %}>
|
||||
<td style="text-align: right;">
|
||||
<a href="update/{{ user.name }}"><i class="icon-edit"></i></a>
|
||||
</td>
|
||||
<td data-order-by="{{ user.name }}">
|
||||
<a href="read/{{ user.name }}" {% if user.disabled or user.ttl == 0 %} class="disabled"{% endif %}>{{ user.name }}</a>
|
||||
{% if 'univnautes-idp-multiple' in user.priv %} — multiple{% endif %}
|
||||
|
|
Reference in New Issue