Changeset 6512
- Timestamp:
- 5 Jul 2011, 17:00:15 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6465 r6512 275 275 return local_roles_string 276 276 277 def getGlobalRoles(self,account): 278 global_roles = account.roles 279 global_roles_string = '' 280 for global_role in global_roles: 281 role_title = dict(getRoles())[global_role].title 282 global_roles_string += '%s <br />' % role_title 283 return global_roles_string 284 277 285 class AddUserFormPage(WAeUPAddFormPage): 278 286 grok.require('waeup.manageUsers') -
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r6508 r6512 195 195 name = schema.TextLine( 196 196 title = u'User ID', 197 description = u'Login name ',197 description = u'Login name of user', 198 198 required = True,) 199 199 title = schema.TextLine( 200 title = u' User name',201 description = u'Real name ',200 title = u'Name', 201 description = u'Real name of user', 202 202 required = False,) 203 203 description = schema.TextLine( 204 title = u' User description',204 title = u'Description', 205 205 required = False,) 206 206 password = schema.Password(
Note: See TracChangeset for help on using the changeset viewer.