Changeset 5037 for WAeUP_SRP/trunk


Ignore:
Timestamp:
23 Feb 2010, 11:08:14 (15 years ago)
Author:
Henrik Bettermann
Message:

show validation data

change level voc

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/import_student_study_level.xml

    r5035 r5037  
    5353  </widget>
    5454
    55  <widget name="code" meta_type="WAeUP Level Widget">
    56   <property name="title">Level No</property>
     55 <widget name="code" meta_type="Select Widget">
     56  <property name="title">Level</property>
     57  <property name="is_required">True</property>
    5758  <property name="fields">
    5859   <element value="code"/>
    5960  </property>
    6061  <property name="is_required">True</property>
    61   <property name="label">Level No</property>
    62   <property name="label_edit">Level No</property>
    63   <property name="readonly_layout_modes"/>
    64   <property name="hidden_layout_modes">
    65    <element value="edit"/>
    66    <element value="view"/>
    67   </property>
    68   <property name="hidden_readonly_layout_modes"/>
    69   <property name="vocabulary">unset</property>
    70   <property name="sorted">True</property>
     62  <property name="vocabulary">student_levels</property>
    7163 </widget>
     64
     65
    7266 <widget name="session" meta_type="WAeUP Session Widget">
    7367  <property name="title">Session</property>
  • WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py

    r3709 r5037  
    5050info['validation_allowed']= review_state == 'courses_registered' and is_current_level
    5151info['rejection_allowed']= review_state in ('courses_registered', 'courses_validated',) and is_current_level
    52 info['validated'] = review_state in ('courses_validated','returning') and is_current_level
     52info['validated'] = level_doc.validated_by
    5353
    5454info['show_check_boxes'] =  (is_ca and school_fee_paid and is_current_level and not has_verdict) or\
Note: See TracChangeset for help on using the changeset viewer.