summaryrefslogtreecommitdiffstats
path: root/virtualenv
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2014-01-16 16:12:37 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2014-01-16 16:12:37 (GMT)
commiteb1506988a3aaa1fa7ec2c36c57fa7ffbc0030e6 (patch)
tree8c358a0e31ab89fe37c0f46ecffabbdfff43d85f /virtualenv
parent782ed58f9b1d9ea3a3cd3aac11db81239555e808 (diff)
downloadunivnautes-old-eb1506988a3aaa1fa7ec2c36c57fa7ffbc0030e6.zip
univnautes-old-eb1506988a3aaa1fa7ec2c36c57fa7ffbc0030e6.tar.gz
univnautes-old-eb1506988a3aaa1fa7ec2c36c57fa7ffbc0030e6.tar.bz2
pfidp/users_admin: add update buttons on index
Diffstat (limited to 'virtualenv')
-rw-r--r--virtualenv/pfidp/templates/users_admin/index.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/virtualenv/pfidp/templates/users_admin/index.html b/virtualenv/pfidp/templates/users_admin/index.html
index acbbf2d..f93adb8 100644
--- a/virtualenv/pfidp/templates/users_admin/index.html
+++ b/virtualenv/pfidp/templates/users_admin/index.html
@@ -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 %}