Ignore:
Timestamp:
22 Nov 2011, 07:25:31 (13 years ago)
Author:
Henrik Bettermann
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/usercontainerpage.pt

    r6511 r7162  
    2121      <td tal:content="account/title">Title</td>
    2222      <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>
     23      <td tal:content="structure python:layout.getGlobalRoles(account)">Global Roles</td>
     24      <td tal:content="structure python:layout.getLocalRoles(account)">Local Roles</td>
    2525      <td class="text-right">
    2626        <form method="post">
    2727          <input type="hidden" name="userid"
    2828           tal:attributes="value account/name"/>
    29             <input type="submit" name="edit" value="edit" />
     29            <input type="submit" name="manage" value="manage" />
    3030            <input type="submit" name="delete" value="delete" />
    3131        </form>
Note: See TracChangeset for help on using the changeset viewer.