Changeset 4498 for waeup/branches/ulif-rewrite/src
- Timestamp:
- 31 Jul 2009, 10:02:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/viewlets.py
r4490 r4498 31 31 class AddCourse(grok.View): 32 32 """Admin add form wrapper for waeup objects. 33 34 We need different named add views for departments as there are 35 different things to add. 33 36 """ 34 37 grok.context(IWAeUPObject) 35 38 grok.template('master') 36 39 40 class AddCertificate(grok.View): 41 """Admin add form wrapper for waeup objects. 42 43 We need different named add views for departments as there are 44 different things to add. 45 """ 46 grok.context(IWAeUPObject) 47 grok.template('master') 48 37 49 class ExportXML(grok.View): 38 50 """Deliver an XML representation of the context. … … 219 231 addlink_text = 'Add course' 220 232 233 class AddCertificateAction(AddAction): 234 grok.context(IDepartment) 235 grok.template('addaction') 236 237 addview_name = 'addcertificate' 238 addlink_text = 'Add certificate' 239 240 221 241 class ManageUniversityAction(grok.Viewlet): 222 242 grok.viewletmanager(ActionBar)
Note: See TracChangeset for help on using the changeset viewer.