Changeset 4680 for waeup/branches/ulif-layout
- Timestamp:
- 5 Jan 2010, 11:31:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/browser/viewlets.py
r4656 r4680 6 6 from zope.component import getMultiAdapter 7 7 from zope.location.interfaces import ISite 8 from waeup.browser.pages import UniversityPage, FacultyContainerPage 8 from waeup.browser.pages import (UniversityPage, FacultyContainerPage, 9 DatacenterPage) 9 10 from waeup.interfaces import (IUniversity, IWAeUPObject, IWAeUPXMLExporter, 10 11 IWAeUPXMLImporter, IFacultyContainer, IFaculty, 11 12 IDepartment, ICourse, ICertificate, 12 ICertificateCourse, )13 ICertificateCourse, IDataCenter) 13 14 from waeup.utils.helpers import getInnerHTMLPart 14 15 from waeup.viewlets import LeftSidebar, ActionBar … … 103 104 grok.template('manageaction') 104 105 106 class ManageDataCenterAction(ManageUniversityAction): 107 grok.context(IDataCenter) 108 grok.view(DatacenterPage) 109 grok.template('manageaction') 110 grok.require('waeup.manageUniversity') 105 111 106 112 #
Note: See TracChangeset for help on using the changeset viewer.