aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-07-18 10:48:45 +0000
committerMichael Scherer <misc@mageia.org>2011-07-18 10:48:45 +0000
commit1f53793d51ba1fe88ca9d678963bd8ec40a902b1 (patch)
treee3d7e00360fc10ac9101eb67854edd150896a36d
parent62065bdb7ea52f56c6d3e2caa67e03cf04bf1001 (diff)
downloadidentity-1f53793d51ba1fe88ca9d678963bd8ec40a902b1.tar
identity-1f53793d51ba1fe88ca9d678963bd8ec40a902b1.tar.gz
identity-1f53793d51ba1fe88ca9d678963bd8ec40a902b1.tar.bz2
identity-1f53793d51ba1fe88ca9d678963bd8ec40a902b1.tar.xz
identity-1f53793d51ba1fe88ca9d678963bd8ec40a902b1.zip
clean the list of entries, when searching for a username
-rw-r--r--root/admin/account.tt16
1 files changed, 3 insertions, 13 deletions
diff --git a/root/admin/account.tt b/root/admin/account.tt
index 128e36b..ae48af7 100644
--- a/root/admin/account.tt
+++ b/root/admin/account.tt
@@ -28,21 +28,11 @@
[% IF entries %]
<table border=0>
+ [% FOREACH entry IN entries %]
<tr>
- <th>[% l('Username') %]</th>
- <th>[% l('Email') %]</th>
- <th>[% l('First Name') %]</th>
- <th>[% l('Surname') %]</td>
- <th>[% l('Full Name') %]</td>
+ <td align="left"><a href="[% c.uri_for('/admin/account_modify') %]/[% entry.uid %]">[% entry.uid %]</a></td>
+ <td align="left">[% entry.cn %] ( <a href="mailto:[% entry.mail %]">[% entry.mail %]</a>)</td>
</tr>
- [% FOREACH entry IN entries %]
- <tr>
- <td><a href="[% c.uri_for('/admin/account_modify') %]/[% entry.uid %]">[% entry.uid %]</a></td>
- <td>[% entry.mail %]</td>
- <td>[% entry.givenName %]</td>
- <td>[% entry.sn %]</td>
- <td>[% entry.cn %]</td>
- </tr>
[% END %]
</table>
[% END %]