- Timestamp:
- 8 Jan 2010, 01:24:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/browser/viewlets.py
r4718 r4723 7 7 from zope.location.interfaces import ISite 8 8 from waeup.browser.pages import (UniversityPage, FacultyContainerPage, 9 DatacenterPage, FacultyPage, DepartmentPage) 9 DatacenterPage, FacultyPage, DepartmentPage, 10 CoursePage) 10 11 from waeup.browser.interfaces import IBreadcrumbContainer 11 12 from waeup.interfaces import (IUniversity, IWAeUPObject, IWAeUPXMLExporter, … … 140 141 grok.context(IDepartment) 141 142 grok.view(DepartmentPage) 143 grok.template('manageaction') 144 grok.require('waeup.manageUniversity') 145 146 class ManageCourseAction(ManageUniversityAction): 147 """ 'Edit settings' button for courses. 148 """ 149 grok.context(ICourse) 150 grok.view(CoursePage) 142 151 grok.template('manageaction') 143 152 grok.require('waeup.manageUniversity')
Note: See TracChangeset for help on using the changeset viewer.