- Timestamp:
- 30 Jan 2015, 11:24:26 (10 years ago)
- 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 131 131 """ 132 132 grok.context(IUsersContainer) 133 title = _(u' Portal Users')133 title = _(u'Officers') 134 134 parent_viewname = 'administration' 135 135 -
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/breadcrumbs.txt
r11954 r12525 92 92 >>> blist3 = getBreadcrumbListForView(page) 93 93 >>> [x.title for x in blist3] 94 [u'Home', u'Administration', u' Portal Users']94 [u'Home', u'Administration', u'Officers'] 95 95 96 96 ..note:: This works only for views created with grokcore.component … … 112 112 >>> mybccontainer = IBreadcrumbContainer(page) 113 113 >>> [x.title for x in mybccontainer] 114 [u'Home', u'Administration', u' Portal Users']114 [u'Home', u'Administration', u'Officers'] 115 115 116 116 It is, however, not a real Python list but only an iterable -
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/browser.txt
r12328 r12525 150 150 151 151 152 Portal Users153 ======== ====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...152 Officers 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... 160 160 ... 161 161 -
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/pages.py
r12283 r12525 515 515 grok.context(IUsersContainer) 516 516 grok.name('index') 517 label = _(' Portal Users')517 label = _('Officers') 518 518 manage_button = _(u'Manage') 519 519 delete_button = _(u'Remove') -
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/viewlets.py
r11954 r12525 327 327 328 328 link = u'users' 329 text = _(u' Portal Users')329 text = _(u'Officers') 330 330 331 331 class ManageDataCenter(ManageLink): … … 552 552 grok.require('waeup.manageUsers') 553 553 554 link_title = _(' Portal Users')554 link_title = _('Officers') 555 555 target_viewname = 'users' 556 556
Note: See TracChangeset for help on using the changeset viewer.