Changeset 2678 for WAeUP_SRP/base/skins/waeup_student
- Timestamp:
- 16 Nov 2007, 13:41:44 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getNextInfo.py
r2664 r2678 35 35 info['next_level_id'] = next_level_id = level_id 36 36 info['next_verdict'] = verdict 37 info['next_previous_verdict'] = '' 37 38 verdicts_voc = context.portal_vocabularies.verdicts 38 39 if review_state == 'cleared_and_validated': … … 44 45 info['next_transition'] = "pay_school_fee" 45 46 info['next_verdict'] = '' 47 info['next_previous_verdict'] = verdict 46 48 if verdict in ('A','B',): 47 49 info['next_level_id'] = "%s" % (int(level_id) + 100) -
WAeUP_SRP/base/skins/waeup_student/getStudyCourseInfo.py
r2674 r2678 94 94 current_level == '100' or\ 95 95 (sbrain.mode.startswith('de') and current_level == '200')) 96 96 97 97 missing_data = has_paid and\ 98 98 current_level not in levels and\ 99 99 not (previous_verdict or sbrain.level) and\ 100 100 not (current_level == '100' or\ 101 (sbrain.mode.startswith('de') and current_level == '200')) 101 (sbrain.mode.startswith('de') and current_level == '200')) 102 102 103 103 info['missing_data'] = missing_data … … 105 105 info['create_level'] = None 106 106 student_levels_voc = context.portal_vocabularies.student_levels 107 if not missing_data:107 if may_register: 108 108 info['create_level'] = current_level 109 109 info['create_level_str'] = student_levels_voc.get(current_level) -
WAeUP_SRP/base/skins/waeup_student/study_course_view.pt
r2674 r2678 141 141 </form> 142 142 143 <div tal:condition=" not: create_level">143 <div tal:condition="info/missing_data"> 144 144 <font color='red'> 145 145 Your faculty has not yet provided the results and verdict of the previous session.
Note: See TracChangeset for help on using the changeset viewer.