Ignore:
Timestamp:
30 Jan 2015, 11:24:26 (10 years ago)
Author:
Henrik Bettermann
Message:

Replace 'Portal Users' by 'Officers' because also customers are portal users.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/browser
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/breadcrumbs.py

    r12186 r12525  
    131131    """
    132132    grok.context(IUsersContainer)
    133     title = _(u'Portal Users')
     133    title = _(u'Officers')
    134134    parent_viewname = 'administration'
    135135
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/breadcrumbs.txt

    r11954 r12525  
    9292    >>> blist3 = getBreadcrumbListForView(page)
    9393    >>> [x.title for x in blist3]
    94     [u'Home', u'Administration', u'Portal Users']
     94    [u'Home', u'Administration', u'Officers']
    9595
    9696..note:: This works only for views created with grokcore.component
     
    112112    >>> mybccontainer = IBreadcrumbContainer(page)
    113113    >>> [x.title for x in mybccontainer]
    114     [u'Home', u'Administration', u'Portal Users']
     114    [u'Home', u'Administration', u'Officers']
    115115
    116116It is, however, not a real Python list but only an iterable
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/browser.txt

    r12328 r12525  
    150150
    151151
    152 Portal Users
    153 ============
    154 
    155   >>> browser.open('http://localhost/mycompany')
    156   >>> browser.getLink('Portal Users').click()
    157   >>> print browser.contents
    158   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
    159   ...Portal Users...
     152Officers
     153========
     154
     155  >>> browser.open('http://localhost/mycompany')
     156  >>> browser.getLink('Officers').click()
     157  >>> print browser.contents
     158  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
     159  ...Officers...
    160160  ...
    161161
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/pages.py

    r12283 r12525  
    515515    grok.context(IUsersContainer)
    516516    grok.name('index')
    517     label = _('Portal Users')
     517    label = _('Officers')
    518518    manage_button = _(u'Manage')
    519519    delete_button = _(u'Remove')
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/viewlets.py

    r11954 r12525  
    327327
    328328    link = u'users'
    329     text = _(u'Portal Users')
     329    text = _(u'Officers')
    330330
    331331class ManageDataCenter(ManageLink):
     
    552552    grok.require('waeup.manageUsers')
    553553
    554     link_title = _('Portal Users')
     554    link_title = _('Officers')
    555555    target_viewname = 'users'
    556556   
Note: See TracChangeset for help on using the changeset viewer.