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:view.getGlobalRoles(account)">Global roles</td> |
---|
24 | <td tal:content="structure python:view.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="edit" value="edit" /> |
---|
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.