Changeset 11839 for main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser
- Timestamp:
- 14 Oct 2014, 09:06:20 (10 years ago)
- Location:
- main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/pages.py
r11836 r11839 20 20 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage, 21 21 LoginPage, CertificatePage, CertificateManageFormPage, DepartmentPage, 22 DepartmentManageFormPage )23 from waeup.kofa.university.interfaces import I Certificate22 DepartmentManageFormPage, CertificateAddFormPage, DepartmentAddFormPage) 23 from waeup.kofa.university.interfaces import IDepartment, ICertificate 24 24 from kofacustom.pcn.interfaces import ( 25 25 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) … … 45 45 """ 46 46 grok.template('departmentmanagepage') 47 form_fields = grok.AutoFields(IDepartment).omit( 48 'code', 'score_editing_disabled') 49 50 class DepartmentAddFormPage(DepartmentAddFormPage): 51 """Department index page. 52 """ 53 form_fields = grok.AutoFields(IDepartment).omit('score_editing_disabled') 54 55 class CertificatePage(CertificatePage): 56 """Index page for certificates. 57 """ 58 grok.template('certificatepage') 59 60 form_fields = grok.AutoFields(ICertificate).omit( 61 'study_mode', 'start_level', 'end_level', 'school_fee_2', 62 'school_fee_3', 'school_fee_4', 'ratio') 63 64 class CertificateManageFormPage(CertificateManageFormPage): 65 """Manage the properties of a `Certificate` instance. 66 """ 67 grok.template('certificatemanagepage') 68 69 form_fields = grok.AutoFields(ICertificate).omit( 70 'code', 'study_mode', 'start_level', 'end_level', 'school_fee_2', 71 'school_fee_3', 'school_fee_4', 'ratio') 72 73 class CertificateAddFormPage(CertificateAddFormPage): 74 """Add-form to add certificate to a department. 75 """ 76 form_fields = grok.AutoFields(ICertificate).omit( 77 'study_mode', 'start_level', 'end_level', 'school_fee_2', 78 'school_fee_3', 'school_fee_4', 'ratio')
Note: See TracChangeset for help on using the changeset viewer.