- Timestamp:
- 2 Aug 2017, 07:54:45 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/browser/pages.py
r12962 r14742 20 20 21 21 import grok 22 from waeup.kofa.browser.pages import ( 23 SessionConfigurationAddFormPage, 24 SessionConfigurationManageFormPage, 25 ConfigurationContainerManageFormPage, 26 SourcesOverview) 22 27 from waeup.kofa.browser.layout import KofaPage 23 from waeup.kofa.browser.pages import SourcesOverview24 28 from kofacustom.nigeria.interfaces import ( 25 high_qual, high_grade, exam_types, LGASource) 29 high_qual, high_grade, exam_types, LGASource, 30 ICustomSessionConfiguration, 31 ICustomSessionConfigurationAdd) 26 32 from kofacustom.nigeria.interfaces import MessageFactory as _ 27 33 … … 59 65 return 60 66 61 62 67 class NigeriaSourcesOverviewPage(KofaPage, NigeriaSourcesOverview): 63 68 grok.name('sources') … … 65 70 label = _(u'Sources & Vocabularies') 66 71 pnav = 0 72 73 class CustomSessionConfigurationAddFormPage(SessionConfigurationAddFormPage): 74 """Add a session configuration object to configuration container. 75 """ 76 form_fields = grok.AutoFields(ICustomSessionConfigurationAdd) 77 78 class CustomSessionConfigurationManageFormPage( 79 SessionConfigurationManageFormPage): 80 """Manage session configuration object. 81 """ 82 form_fields = grok.AutoFields(ICustomSessionConfiguration)
Note: See TracChangeset for help on using the changeset viewer.