Changeset 9554


Ignore:
Timestamp:
6 Nov 2012, 10:44:46 (12 years ago)
Author:
Henrik Bettermann
Message:

Do not show personal_updated in custom packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py

    r9535 r9554  
    7474    """ Page to display student personal data
    7575    """
    76     form_fields = grok.AutoFields(INigeriaStudentPersonal)
     76    form_fields = grok.AutoFields(INigeriaStudentPersonal).omit('personal_updated')
    7777    form_fields['perm_address'].custom_widget = BytesDisplayWidget
    7878    form_fields['next_kin_address'].custom_widget = BytesDisplayWidget
     
    8181    """ Page to edit personal data
    8282    """
    83     form_fields = grok.AutoFields(INigeriaStudentPersonal)
     83    form_fields = grok.AutoFields(INigeriaStudentPersonal).omit('personal_updated')
    8484
    8585class NigeriaStudentPersonalManageFormPage(StudentPersonalManageFormPage):
     
    8787    """
    8888    form_fields = grok.AutoFields(INigeriaStudentPersonal)
     89    form_fields['personal_updated'].for_display = True
    8990
    9091class NigeriaStudentClearanceDisplayFormPage(StudentClearanceDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.