Changeset 7186 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 24 Nov 2011, 11:31:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7184 r7186 37 37 ISessionConfiguration, ISessionConfigurationAdd, academic_sessions_vocab, 38 38 IPasswordValidator) 39 from waeup.sirp.permissions import get_users_with_local_roles, get AllRoles39 from waeup.sirp.permissions import get_users_with_local_roles, get_all_roles 40 40 from waeup.sirp.university.catalog import search 41 41 from waeup.sirp.university.vocabularies import course_levels … … 266 266 site_url = self.url(grok.getSite()) 267 267 for local_role in local_roles.keys(): 268 role_title = dict(get AllRoles())[local_role].title268 role_title = dict(get_all_roles())[local_role].title 269 269 objects_string = '' 270 270 for object in local_roles[local_role]: … … 279 279 site_roles_string = '' 280 280 for site_role in site_roles: 281 role_title = dict(get AllRoles())[site_role].title281 role_title = dict(get_all_roles())[site_role].title 282 282 site_roles_string += '%s <br />' % role_title 283 283 return site_roles_string … … 385 385 local_roles_userfriendly = {} 386 386 for local_role in local_roles: 387 role_title = dict(get AllRoles())[local_role].title387 role_title = dict(get_all_roles())[local_role].title 388 388 local_roles_userfriendly[role_title] = local_roles[local_role] 389 389 return local_roles_userfriendly … … 394 394 site_roles_userfriendly = [] 395 395 for site_role in site_roles: 396 role_title = dict(get AllRoles())[site_role].title396 role_title = dict(get_all_roles())[site_role].title 397 397 site_roles_userfriendly.append(role_title) 398 398 return site_roles_userfriendly
Note: See TracChangeset for help on using the changeset viewer.