Changeset 16984 for main/kofacustom.lpng
- Timestamp:
- 5 Jul 2022, 08:12:05 (2 years ago)
- Location:
- main/kofacustom.lpng/trunk/src/kofacustom/lpng
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/src/kofacustom/lpng/browser/pages.py
r16983 r16984 17 17 ## 18 18 import grok 19 from waeup.kofa.interfaces import IKofaUtils, IKofaObject 19 20 from waeup.kofa.browser.pages import ( 20 21 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage, … … 23 24 from kofacustom.lpng.interfaces import ( 24 25 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 26 from waeup.kofa.browser.viewlets import FacultiesTab 27 28 class FacultiesTab(FacultiesTab): 29 """Faculties-tab in primary navigation. 30 """ 31 grok.context(IKofaObject) 32 33 @property 34 def link_target(self): 35 return 25 36 26 37 class CustomSessionConfigurationAddFormPage(SessionConfigurationAddFormPage): -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/hostels/browser.py
r16983 r16984 20 20 import grok 21 21 from waeup.kofa.hostels.browser import ( 22 HostelAddFormPage, HostelDisplayFormPage, HostelManageFormPage) 22 HostelAddFormPage, HostelDisplayFormPage, HostelManageFormPage, 23 HostelsTab) 23 24 from kofacustom.lpng.hostels.interfaces import ICustomHostel 25 26 class HostelsTab(HostelsTab): 27 """Hostels tab in primary navigation. 28 """ 29 30 @property 31 def link_target(self): 32 return 24 33 25 34 class CustomHostelAddFormPage(HostelAddFormPage): … … 38 47 """ 39 48 form_fields = grok.AutoFields(ICustomHostel).omit('hostel_id', 'beds_reserved') 49 50 51 -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/students/viewlets.py
r16983 r16984 27 27 ExportPDFClearanceSlip, StudyCourseDisplayFormPage, 28 28 StudyLevelDisplayFormPage) 29 from waeup.kofa.students.viewlets import StudentsTab 29 30 30 31 from kofacustom.nigeria.interfaces import MessageFactory as _ 32 33 class StudentsTab(StudentsTab): 34 """Students tab in primary navigation. 35 """ 36 @property 37 def link_target(self): 38 return
Note: See TracChangeset for help on using the changeset viewer.