- Timestamp:
- 5 Oct 2011, 06:39:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_futminna/getStudyLevelInfo.py
r6858 r6862 47 47 info['has_verdict'] = has_verdict = level_doc.verdict 48 48 49 info['submission_allowed']= school_fee_paid and is_current_level and not has_verdict and level_id != ' 501'50 info['validation_allowed']= review_state == 'courses_registered' and is_current_level and level_id != ' 501'49 info['submission_allowed']= school_fee_paid and is_current_level and not has_verdict and level_id != '101' 50 info['validation_allowed']= review_state == 'courses_registered' and is_current_level and level_id != '101' 51 51 info['rejection_allowed']= review_state in ('courses_registered', 'courses_validated','returning',) and\ 52 is_current_level and level_id != ' 501'52 is_current_level and level_id != '101' 53 53 info['validated'] = level_doc.validated_by and not (is_current_level and review_state in ('courses_registered',)) 54 54 info['show_check_boxes'] = (is_ca and school_fee_paid and is_current_level and not has_verdict) or\ 55 55 (info['is_student'] and school_fee_paid and is_current_level and not has_verdict) or\ 56 level_id == ' 501' or\56 level_id == '101' or\ 57 57 (is_so) # and is_current_level and not has_verdict) 58 58 … … 90 90 info['credits_exceeded'] = total_credits > max_credits 91 91 current_session = student.session 92 info['show_submit'] = not info['credits_exceeded'] and level_id != ' 501'93 info['show_update'] = level_id != ' 501'92 info['show_submit'] = not info['credits_exceeded'] and level_id != '101' 93 info['show_update'] = level_id != '101' 94 94 #end customization 95 95
Note: See TracChangeset for help on using the changeset viewer.