Changeset 5031 for WAeUP_SRP/trunk


Ignore:
Timestamp:
22 Feb 2010, 12:28:14 (15 years ago)
Author:
Henrik Bettermann
Message:

enable import of repeater and spill-over levels

enable of birthday 'None'

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/patches/PatchExtendedWidgetsCPSDateTimeWidget.py

    r5030 r5031  
    3333                return 1
    3434    else:
     35        #import pdb;pdb.set_trace()
    3536        if datastructure.has_key(widget_id + '_date'):
    3637            date = datastructure[widget_id + '_date'].strip()
     
    4647            minute = self.time_minutes_default
    4748
    48         if not (date):
     49        if not (date) or date == 'None':
    4950            if self.is_required:
    5051                datastructure[widget_id] = ''
  • WAeUP_SRP/trunk/profiles/default/layouts/import_student.xml

    r3988 r5031  
    111111  <property name="sorted">True</property>
    112112 </widget>
    113  <widget name="current_level" meta_type="WAeUP Level Widget">
     113 <widget name="current_level" meta_type="Select Widget">
    114114  <property name="title">Current Level</property>
    115115  <property name="fields">
     
    117117  </property>
    118118  <property name="is_required">True</property>
    119   <property name="vocabulary">unset</property>
    120   <property name="sorted">True</property>
     119  <property name="vocabulary">student_levels</property>
    121120 </widget>
    122121 <widget name="current_verdict" meta_type="WAeUP Verdict Widget">
Note: See TracChangeset for help on using the changeset viewer.