Changeset 5393 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 8 Aug 2010, 11:45:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/breadcrumbs.py
r5379 r5393 67 67 parent = None 68 68 69 class PortalSettingsBreadcrumb(Breadcrumb): 70 """A breadcrumb for the manage view of universities. 71 72 Here we need a special `parent()` implementation, because the 73 parent object is not a real parent (the University object has no 74 valid parent in terms of breadcrumbs). Instead it is the 75 ``administration`` view of the same context the ``manage`` page 76 itself is bound to. 77 """ 78 grok.context(interfaces.IUniversity) 79 grok.name('manage') 80 title = u'Portal Settings' 81 82 @property 83 def parent(self): 84 """Return the 'administration' view of our context as parent. 85 """ 86 return (self.context, 'administration') 87 69 88 class FacultyContainerBreadcrumb(Breadcrumb): 70 89 """A breadcrumb for faculty containers.
Note: See TracChangeset for help on using the changeset viewer.