pfidp/users_admin: add update buttons on index

This commit is contained in:
Thomas NOËL 2014-01-16 17:12:37 +01:00
parent 782ed58f9b
commit eb1506988a
1 changed files with 4 additions and 0 deletions

View File

@ -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 %} &mdash; multiple{% endif %}