Changeset 7178 for main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
- Timestamp:
- 23 Nov 2011, 09:32:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7177 r7178 274 274 return local_roles_string 275 275 276 def get GlobalRoles(self, account):277 global_roles = account.roles278 global_roles_string = ''279 for global_role in global_roles:280 role_title = dict(getAllRoles())[ global_role].title281 global_roles_string += '%s <br />' % role_title282 return global_roles_string276 def getSiteRoles(self, account): 277 site_roles = account.roles 278 site_roles_string = '' 279 for site_role in site_roles: 280 role_title = dict(getAllRoles())[site_role].title 281 site_roles_string += '%s <br />' % role_title 282 return site_roles_string 283 283 284 284 class AddUserFormPage(WAeUPAddFormPage):
Note: See TracChangeset for help on using the changeset viewer.