Ignore:
Timestamp:
9 Mar 2022, 19:52:05 (3 years ago)
Author:
Henrik Bettermann
Message:

Add fields and customize manage form.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/applicants
Files:
2 edited

Legend:

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

    r16786 r16871  
    3434    RefereeReportAddFormPage,
    3535    RefereeReportDisplayFormPage,
     36    RefereeReportManageFormPage,
    3637    ExportPDFReportSlipPage,
    3738    ExportPDFReportSlipPage2)
     
    800801        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    801802
     803class CustomRefereeReportManageFormPage(RefereeReportManageFormPage):
     804    """A displaymanage for referee reports.
     805    """
     806    form_fields = grok.AutoFields(ICustomApplicantRefereeReport).omit('creation_date')
     807
    802808class CustomExportPDFReportSlipPage(ExportPDFReportSlipPage):
    803809    form_fields = grok.AutoFields(ICustomApplicantRefereeReport)
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py

    r16864 r16871  
    18191819        )
    18201820
     1821    ability = schema.Choice(
     1822        title = _(u'Ability to Work in a Team'),
     1823        required = False,
     1824        readonly = False,
     1825        vocabulary = rating_vocab,
     1826        )
     1827
     1828    overall = schema.Choice(
     1829        title = _(u'Overall Assessment of Candidate'),
     1830        required = False,
     1831        readonly = False,
     1832        vocabulary = rating_vocab,
     1833        )
Note: See TracChangeset for help on using the changeset viewer.