Changeset 8173 for main/waeup.kofa/trunk


Ignore:
Timestamp:
16 Apr 2012, 08:17:52 (13 years ago)
Author:
Henrik Bettermann
Message:

Use FriendlyDatetimeDisplayWidget? also in pdf files (new decision).

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

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

    r8170 r8173  
    541541    grok.require('waeup.viewApplication')
    542542    form_fields = grok.AutoFields(IApplicantOnlinePayment)
    543     form_fields['creation_date'].custom_widget = FriendlyDateDisplayWidget('le')
    544     form_fields['payment_date'].custom_widget = FriendlyDateDisplayWidget('le')
     543    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     544    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    545545    prefix = 'form'
    546546
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r8170 r8173  
    11861186    grok.require('waeup.viewStudent')
    11871187    form_fields = grok.AutoFields(IStudentOnlinePayment)
    1188     form_fields['creation_date'].custom_widget = FriendlyDateDisplayWidget('le')
    1189     form_fields['payment_date'].custom_widget = FriendlyDateDisplayWidget('le')
     1188    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     1189    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    11901190    prefix = 'form'
    11911191    title = 'Payment Data'
     
    13871387    grok.require('waeup.handleAccommodation')
    13881388    form_fields = grok.AutoFields(IBedTicket)
    1389     form_fields['booking_date'].custom_widget = FriendlyDateDisplayWidget('le')
     1389    form_fields['booking_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    13901390    prefix = 'form'
    13911391
Note: See TracChangeset for help on using the changeset viewer.