Ignore:
Timestamp:
29 Oct 2023, 21:05:12 (13 months ago)
Author:
Henrik Bettermann
Message:

Implement cutoff mark for application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/browser/pages.py

    r17428 r17627  
    2121    SessionConfigurationManageFormPage,
    2222    ConfigurationContainerManageFormPage,
    23     DatacenterPage, ExportCSVPage)
     23    DatacenterPage, ExportCSVPage,
     24    CertificatePage, CertificateManageFormPage)
    2425from waeup.kofa.browser.reports import ReportsContainerPage
    2526from waeup.kofa.interfaces import IConfigurationContainer
     27from waeup.kofa.university.interfaces import ICertificate
    2628from waeup.aaue.interfaces import (
    2729    ICustomSessionConfiguration,
    2830    ICustomSessionConfigurationAdd)
     31
     32class CustomCertificatePage(CertificatePage):
     33    """Index page for certificates.
     34    """
     35    form_fields = grok.AutoFields(ICertificate).omit(
     36        'custom_float_2',
     37        'school_fee_1',
     38        'school_fee_2',
     39        'school_fee_3',
     40        'school_fee_4',
     41        'custom_textline_1',
     42        'custom_textline_2',
     43        )
     44
     45class CustomCertificateManageFormPage(CertificateManageFormPage):
     46    """Manage the properties of a `Certificate` instance.
     47    """
     48    form_fields = grok.AutoFields(ICertificate).omit(
     49        'ratio',
     50        'custom_float_2',
     51        'school_fee_1',
     52        'school_fee_2',
     53        'school_fee_3',
     54        'school_fee_4',
     55        'custom_textline_1',
     56        'custom_textline_2',
     57        'code')
    2958
    3059class CustomConfigurationContainerManageFormPage(
Note: See TracChangeset for help on using the changeset viewer.