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

Last change on this file since 7162 was 7162, checked in by Henrik Bettermann, 13 years ago

Move getGlobalRoles and getLocalRoles to SiteLayout? class so that we can put these strings into the personal box of officers.

Rename UserEditFormPage? to UserManageFormPage? and omit name field when editing user data. User ids can't be edited.

File size: 1010 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>User ID</th>
11      <th>Name</th>
12      <th>Description</th>
13      <th>Global roles</th>
14      <th>Local roles</th>
15      <th></th>
16    </tr>
17  </thead>
18  <tbody>
19    <tr tal:repeat="account context/values">
20      <td tal:content="account/name">User name</td>
21      <td tal:content="account/title">Title</td>
22      <td tal:content="account/description">Description</td>
23      <td tal:content="structure python:layout.getGlobalRoles(account)">Global Roles</td>
24      <td tal:content="structure python:layout.getLocalRoles(account)">Local Roles</td>
25      <td class="text-right">
26        <form method="post">
27          <input type="hidden" name="userid"
28           tal:attributes="value account/name"/>
29            <input type="submit" name="manage" value="manage" />
30            <input type="submit" name="delete" value="delete" />
31        </form>
32      </td>
33    </tr>
34  </tbody>
35</table>
Note: See TracBrowser for help on using the repository browser.