Ignore:
Timestamp:
13 Apr 2012, 15:10:17 (13 years ago)
Author:
Henrik Bettermann
Message:

... verhauen ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r8140 r8144  
    111111        if cm is not None and cm.startswith('pg'):
    112112            form_fields = grok.AutoFields(IPGStudentClearance).omit('clearance_locked')
    113             form_fields['emp_start'].custom_widget = FriendlyDateWidget('le-year')
    114             form_fields['emp_end'].custom_widget = FriendlyDateWidget('le-year')
    115             form_fields['emp2_start'].custom_widget = FriendlyDateWidget('le-year')
    116             form_fields['emp2_end'].custom_widget = FriendlyDateWidget('le-year')
     113            form_fields['emp_start'].custom_widget = FriendlyDateDisplayWidget('le')
     114            form_fields['emp_end'].custom_widget = FriendlyDateDisplayWidget('le')
     115            form_fields['emp2_start'].custom_widget = FriendlyDateDisplayWidget('le')
     116            form_fields['emp2_end'].custom_widget = FriendlyDateDisplayWidget('le')
    117117        else:
    118118            form_fields = grok.AutoFields(IUGStudentClearance).omit('clearance_locked')
    119119        form_fields['date_of_birth'].custom_widget = FriendlyDateDisplayWidget('le')
    120         form_fields['fst_sit_date'].custom_widget = FriendlyDateWidget('le-year')
    121         form_fields['scd_sit_date'].custom_widget = FriendlyDateWidget('le-year')
    122         form_fields['scd_sit_date'].custom_widget = FriendlyDateWidget('le-year')
    123         form_fields['alr_date'].custom_widget = FriendlyDateWidget('le-year')
     120        form_fields['fst_sit_date'].custom_widget = FriendlyDateDisplayWidget('le')
     121        form_fields['scd_sit_date'].custom_widget = FriendlyDateDisplayWidget('le')
     122        form_fields['scd_sit_date'].custom_widget = FriendlyDateDisplayWidget('le')
     123        form_fields['alr_date'].custom_widget = FriendlyDateDisplayWidget('le')
    124124        return form_fields
    125125
Note: See TracChangeset for help on using the changeset viewer.