Changeset 11840 for main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser
- Timestamp:
- 14 Oct 2014, 10:28:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/pages.py
r11839 r11840 20 20 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage, 21 21 LoginPage, CertificatePage, CertificateManageFormPage, DepartmentPage, 22 DepartmentManageFormPage, CertificateAddFormPage, DepartmentAddFormPage) 23 from waeup.kofa.university.interfaces import IDepartment, ICertificate 22 DepartmentManageFormPage, CertificateAddFormPage, DepartmentAddFormPage, 23 FacultyManageFormPage, FacultyAddFormPage) 24 from waeup.kofa.university.interfaces import ICertificate 24 25 from kofacustom.pcn.interfaces import ( 25 26 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 27 28 from kofacustom.pcn.university.faculty import IDepartment, IFaculty 26 29 27 30 grok.templatedir('templates') … … 36 39 """ 37 40 form_fields = grok.AutoFields(ICustomSessionConfiguration) 41 42 43 class FacultyAddFormPage(FacultyAddFormPage): 44 """ Page form to add a new faculty to a faculty container. 45 """ 46 form_fields = grok.AutoFields(IFaculty) 47 48 class FacultyManageFormPage(FacultyManageFormPage): 49 """Manage the basic properties of a `Faculty` instance. 50 """ 51 form_fields = grok.AutoFields(IFaculty).omit('code') 38 52 39 53 class DepartmentPage(DepartmentPage):
Note: See TracChangeset for help on using the changeset viewer.