Changeset 10205 for main/waeup.futminna


Ignore:
Timestamp:
22 May 2013, 19:07:23 (11 years ago)
Author:
Henrik Bettermann
Message:

Omit custom 2 fields on certificate pages and change field names via localization.

Location:
main/waeup.futminna/trunk/src/waeup/futminna
Files:
3 edited

Legend:

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

    r8619 r10205  
    1818import grok
    1919from waeup.kofa.browser.pages import (
    20     SessionConfigurationAddFormPage, SessionConfigurationManageFormPage)
     20    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage,
     21    CertificatePage, CertificateManageFormPage)
     22from waeup.kofa.university.interfaces import ICertificate
    2123from waeup.futminna.interfaces import (
    2224    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
     
    3133    """
    3234    form_fields = grok.AutoFields(ICustomSessionConfiguration)
     35
     36class CustomCertificatePage(CertificatePage):
     37    """Index page for certificates.
     38    """
     39    form_fields = grok.AutoFields(ICertificate).omit(
     40        'ratio', 'custom_textline_2', 'custom_float_2')
     41
     42class CustomCertificateManageFormPage(CertificateManageFormPage):
     43    """Manage the properties of a `Certificate` instance.
     44    """
     45    form_fields = grok.AutoFields(ICertificate).omit(
     46        'ratio', 'custom_textline_2','custom_float_2')
  • main/waeup.futminna/trunk/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.kofa.po

    r9229 r10205  
    1818msgstr "<strong>Notice:</strong> All student ids now start with 'M'. If your data have been migrated from the old portal just put 'M' in front of your old id. Example: B123456 becomes MB123456"
    1919
     20msgid "Custom Textline 1 (not used)"
     21msgstr "JAMB Subject Combination"
     22
     23msgid "Custom Float 1 (not used)"
     24msgstr "JAMB Min. Score"
     25
Note: See TracChangeset for help on using the changeset viewer.