Changeset 1874 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 8 Jun 2007, 22:00:05 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentWorkflowInfo.py
r1871 r1874 27 27 #info['student'] = student 28 28 info['url'] = student.absolute_url() 29 review_state = info['review_state'] = context.getStudentReviewState( )29 review_state = info['review_state'] = context.getStudentReviewState(student_id) 30 30 info['cr'] = review_state in ('returning', 31 31 'school_fee_paid', -
WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
r1872 r1874 116 116 normal.append(d) 117 117 info['credits_total'] = credits_total 118 info['credits_exceeded'] = credits_total > =50118 info['credits_exceeded'] = credits_total > 50 119 119 carry_overs.sort(cmp_semester_id) 120 120 info['carry_overs'] = carry_overs -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1872 r1874 132 132 ('Do you really want to delete selected courses?', )" 133 133 /> 134 <input tal:condition="python: 0" type="submit" name="refresh_level:method"134 <input tal:condition="python: 1" type="submit" name="refresh_level:method" 135 135 class="context" value="Update" 136 136 /> … … 141 141 type="submit" name="register_courses:method" 142 142 class="context" value="Submit" /> 143 <span tal:condition="info/credits_exceeded">Your credits exceed 50</span> 143 <span tal:condition="info/credits_exceeded"> 144 <font color="red"> <strong>Your total credits exceed 50!</strong></font> 145 </span> 144 146 145 147 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" … … 148 150 <br /><br /> 149 151 150 <span tal:condition="python: 0">152 <span tal:condition="python: 1"> 151 153 <strong>Note:</strong> 'Update' checks for all courses in your certificate and will add them to your course list irrespective of 152 154 prior deletion, i.e. already deleted courses will show up again. 153 155 Please use this function only if you are sure that your faculty has added courses which are not yet on your course list. 154 156 </span> 155 <span tal:condition="python: 1">157 <span tal:condition="python: 0"> 156 158 <strong>Note:</strong> The 'Update' function has been temporarily disabled. 157 159 </span>
Note: See TracChangeset for help on using the changeset viewer.