Changeset 6512


Ignore:
Timestamp:
5 Jul 2011, 17:00:15 (13 years ago)
Author:
Henrik Bettermann
Message:

Also show global roles on UserContainerPage?.

Change user field titles again.

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  
    275275        return local_roles_string
    276276
     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
    277285class AddUserFormPage(WAeUPAddFormPage):
    278286    grok.require('waeup.manageUsers')
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r6508 r6512  
    195195    name = schema.TextLine(
    196196        title = u'User ID',
    197         description = u'Login name',
     197        description = u'Login name of user',
    198198        required = True,)
    199199    title = schema.TextLine(
    200         title = u'User name',
    201         description = u'Real name',
     200        title = u'Name',
     201        description = u'Real name of user',
    202202        required = False,)
    203203    description = schema.TextLine(
    204         title = u'User description',
     204        title = u'Description',
    205205        required = False,)
    206206    password = schema.Password(
Note: See TracChangeset for help on using the changeset viewer.