Changeset 9818
- Timestamp:
- 21 Dec 2012, 14:11:54 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/breadcrumbs.py
r9637 r9818 24 24 25 25 from waeup.kofa.interfaces import ( 26 IConfigurationContainer, ISessionConfiguration )26 IConfigurationContainer, ISessionConfiguration, IExportJobContainer) 27 27 from waeup.kofa.interfaces import MessageFactory as _ 28 28 from waeup.kofa.browser.interfaces import ( … … 166 166 title = _(u'Reports') 167 167 parent_viewname = 'administration' 168 target = None 169 170 class ExportsBreadcrumb(Breadcrumb): 171 """A breadcrumb for reports. 172 """ 173 grok.context(IExportJobContainer) 174 title = _(u'Student Data Exports') 175 target = None 168 176 169 177 class FacultyBreadcrumb(Breadcrumb): -
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r9740 r9818 216 216 breadcrumbs = IBreadcrumbContainer(self.view) 217 217 for breadcrumb in breadcrumbs: 218 if breadcrumb.target: 218 if breadcrumb.target is None: 219 yield dict( 220 title = breadcrumb.title, 221 url = self.view.url(breadcrumb.context) 222 ) 223 elif breadcrumb.target: 219 224 yield dict( 220 225 title = breadcrumb.title,
Note: See TracChangeset for help on using the changeset viewer.