source: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/usercontainerpage.pt @ 6460

Last change on this file since 6460 was 6183, checked in by Henrik Bettermann, 14 years ago

Render human readable local role assignments including links to the corresponding objects.

File size: 894 bytes
Line 
1<h2>Portal Users</h2>
2
3<p>
4  Here you can manage portal users. 
5</p>
6
7<table class="zebra">
8  <thead>
9    <tr>
10      <th>Username</th>
11      <th>Title</th>
12      <th>Description</th>
13      <th>Local Roles</th>
14      <th>Actions</th>
15    </tr>
16  </thead>
17  <tbody>
18    <tr tal:repeat="account context/values">
19      <td tal:content="account/name">username</td>
20      <td tal:content="account/title">Title</td>
21      <td tal:content="account/description">Description</td>
22      <td tal:content="structure python:view.getLocalRoles(account)">Local Roles</td>
23      <td class="text-right">
24        <form method="post">
25          <input type="hidden" name="userid"
26           tal:attributes="value account/name"/>
27            <input type="submit" name="edit" value="edit" />
28            <input type="submit" name="delete" value="delete" />
29        </form>
30      </td>
31    </tr>
32  </tbody>
33</table>
Note: See TracBrowser for help on using the repository browser.