Changeset 7213
- Timestamp:
- 26 Nov 2011, 17:16:30 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6756 r7213 116 116 <select id="user" name="user"> 117 117 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 118 <span tal:replace="user/val/ description">USERTITLE118 <span tal:replace="user/val/title">USERTITLE 119 119 </span> 120 120 </option> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt
r6756 r7213 86 86 <select id="user" name="user"> 87 87 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 88 <span tal:replace="user/val/ description">USERTITLE88 <span tal:replace="user/val/title">USERTITLE 89 89 </span> 90 90 </option> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r6460 r7213 140 140 <select id="user" name="user"> 141 141 <option tal:attributes="value user/name" tal:repeat="user view/getUsers"> 142 <span tal:replace="user/val/ description">USERTITLE142 <span tal:replace="user/val/title">USERTITLE 143 143 </span> 144 144 </option> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt
r6460 r7213 117 117 <select id="user" name="user"> 118 118 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 119 <span tal:replace="user/val/ description">USERTITLE119 <span tal:replace="user/val/title">USERTITLE 120 120 </span> 121 121 </option> -
main/waeup.sirp/trunk/src/waeup/sirp/permissions.py
r7205 r7213 213 213 for local_role, user_name, setting in role_map.getPrincipalsAndRoles(): 214 214 user = grok.getSite()['users'].get(user_name,None) 215 user_title = getattr(user, ' description', user_name)215 user_title = getattr(user, 'title', user_name) 216 216 local_role_title = dict(get_all_roles())[local_role].title 217 217 yield dict(user_name = user_name,
Note: See TracChangeset for help on using the changeset viewer.