Changeset 5162 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
20 Apr 2010, 15:07:06 (15 years ago)
Author:
Henrik Bettermann
Message:

resolve #662 (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py

    r5037 r5162  
    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'] = level_doc.validated_by
    53 
     52info['validated'] = level_doc.validated_by and not (is_current_level and review_state in ('courses_registered',))
    5453info['show_check_boxes'] =  (is_ca and school_fee_paid and is_current_level and not has_verdict) or\
    5554                            (info['is_student'] and school_fee_paid and is_current_level and not has_verdict) or\
Note: See TracChangeset for help on using the changeset viewer.