Ignore:
Timestamp:
12 Nov 2019, 22:16:57 (5 years ago)
Author:
Henrik Bettermann
Message:

Implement automatic matric number assignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/browser/pages.py

    r15661 r15802  
    1919from waeup.kofa.browser.pages import (
    2020    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage,
    21     LoginPage, CertificatePage, CertificateManageFormPage)
     21    LoginPage, CertificatePage, CertificateManageFormPage,
     22    ConfigurationContainerManageFormPage)
    2223from waeup.kofa.university.interfaces import ICertificate
     24from waeup.kofa.interfaces import IConfigurationContainer
    2325from kofacustom.iuokada.interfaces import (
    2426    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
     
    2830    """
    2931    form_fields = grok.AutoFields(ICustomSessionConfigurationAdd)
     32
     33class CustomConfigurationContainerManageFormPage(
     34    ConfigurationContainerManageFormPage):
     35
     36    form_fields = grok.AutoFields(IConfigurationContainer).omit(
     37        'frontpage_dict',
     38        'next_matric_integer_2',
     39        'next_matric_integer_3',
     40        'next_matric_integer_4',
     41        )
     42    form_fields['maintmode_enabled_by'].for_display = True
    3043
    3144class CustomSessionConfigurationManageFormPage(SessionConfigurationManageFormPage):
Note: See TracChangeset for help on using the changeset viewer.