Changeset 10786 for main/kofacustom.ekodisco
- Timestamp:
- 21 Nov 2013, 17:03:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/browser/pages.py
r10770 r10786 19 19 from waeup.kofa.browser.pages import ( 20 20 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage, 21 LoginPage, CertificatePage, CertificateManageFormPage) 22 from waeup.kofa.university.interfaces import ICertificate 21 LoginPage, CertificatePage, CertificateManageFormPage, 22 CertificateAddFormPage, 23 CoursePage, CourseAddFormPage, CourseManageFormPage) 24 from waeup.kofa.university.interfaces import ICertificate, ICourse 23 25 from kofacustom.ekodisco.interfaces import ( 24 26 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) … … 34 36 form_fields = grok.AutoFields(ICustomSessionConfiguration) 35 37 38 class CustomCourseAddFormPage(CourseAddFormPage): 39 """Add-form to add course to a department. 40 """ 41 form_fields = grok.AutoFields(ICourse).select('title', 'code') 42 43 class CustomCoursePage(CoursePage): 44 """Course index page. 45 """ 46 form_fields = grok.AutoFields(ICourse).select('title', 'code') 47 48 class CustomCourseManageFormPage(CourseManageFormPage): 49 """Edit form page for courses. 50 """ 51 52 form_fields = grok.AutoFields(ICourse).select('title') 53 54 class CustomCertificateAddFormPage(CertificateAddFormPage): 55 """Add-form to add Certificate to a department. 56 """ 57 form_fields = grok.AutoFields(ICertificate).select( 58 'title', 'code', 'application_category') 59 60 class CustomCertificatePage(CertificatePage): 61 """Certificate index page. 62 """ 63 form_fields = grok.AutoFields(ICertificate).select( 64 'title', 'code', 'application_category') 65 66 class CustomCertificateManageFormPage(CertificateManageFormPage): 67 """Edit form page for Certificates. 68 """ 69 70 form_fields = grok.AutoFields(ICertificate).select( 71 'title', 'application_category')
Note: See TracChangeset for help on using the changeset viewer.