Ignore:
Timestamp:
5 Jul 2022, 08:12:05 (2 years ago)
Author:
Henrik Bettermann
Message:

Hide tabs.

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  
    1717##
    1818import grok
     19from waeup.kofa.interfaces import IKofaUtils, IKofaObject
    1920from waeup.kofa.browser.pages import (
    2021    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage,
     
    2324from kofacustom.lpng.interfaces import (
    2425    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
     26from waeup.kofa.browser.viewlets import FacultiesTab
     27   
     28class FacultiesTab(FacultiesTab):
     29    """Faculties-tab in primary navigation.
     30    """
     31    grok.context(IKofaObject)
     32   
     33    @property
     34    def link_target(self):
     35        return
    2536
    2637class CustomSessionConfigurationAddFormPage(SessionConfigurationAddFormPage):
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/hostels/browser.py

    r16983 r16984  
    2020import grok
    2121from waeup.kofa.hostels.browser import (
    22     HostelAddFormPage, HostelDisplayFormPage, HostelManageFormPage)
     22    HostelAddFormPage, HostelDisplayFormPage, HostelManageFormPage,
     23    HostelsTab)
    2324from kofacustom.lpng.hostels.interfaces import ICustomHostel
     25
     26class HostelsTab(HostelsTab):
     27    """Hostels tab in primary navigation.
     28    """
     29
     30    @property
     31    def link_target(self):
     32        return
    2433
    2534class CustomHostelAddFormPage(HostelAddFormPage):
     
    3847    """
    3948    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  
    2727    ExportPDFClearanceSlip, StudyCourseDisplayFormPage,
    2828    StudyLevelDisplayFormPage)
     29from waeup.kofa.students.viewlets import StudentsTab
    2930
    3031from kofacustom.nigeria.interfaces import MessageFactory as _
     32
     33class 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.