Changeset 1588 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 19 Mar 2007, 12:54:39 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/external_study_level_view.pt
r1587 r1588 167 167 <input tal:condition="python: review_state in ('courses_registered', 'courses_validated',)" type="submit" name="reject_courses:method" 168 168 class="context" value="Reject" /> 169 170 <input type="hidden" name="action" type="text" id="action" 171 tal:attributes="value string:/external_study_level_view"/> 172 <input type="hidden" name="contin" type="text" id="contin" 173 tal:attributes="value string:/contact_student_form_2"/> 169 170 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 171 tal:attributes="value string:external_study_level_view"/> 172 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 173 tal:attributes="value string:external_contact_student_form"/> 174 174 175 175 176 </td> -
WAeUP_SRP/trunk/skins/waeup_student/reject_courses.py
r1587 r1588 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=REQUEST, student=None, action =None, contin=None7 ##parameters=REQUEST, student=None, action_after_reject=None, action_after_validate=None 8 8 ##title= 9 9 ## … … 38 38 subject = "Course list rejected" 39 39 args['subject'] = subject 40 args['continue'] = contin40 args['continue'] = action_after_validate 41 41 args['portal_status_message'] = psm 42 url = context.absolute_url() + action+ '?' + urlencode(args)42 url = context.absolute_url() + '/' + action_after_reject + '?' + urlencode(args) 43 43 return REQUEST.RESPONSE.redirect(url) 44 44 -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1587 r1588 175 175 class="context" value="Reject" /> 176 176 177 <input type="hidden" name="action" type="text" id="action" 178 tal:attributes="value string:/study_level_view"/> 179 <input type="hidden" name="contin" type="text" id="contin" 180 tal:attributes="value string:/contact_student_form"/> 177 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 178 tal:attributes="value string:/study_level_view"/> 179 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 180 tal:attributes="value string:/contact_student_form"/> 181 181 182 182 183 </td> -
WAeUP_SRP/trunk/skins/waeup_student/validate_courses.py
r1587 r1588 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=student=None, action =None7 ##parameters=student=None, action_after_reject=None, action_after_validate=None 8 8 ##title= 9 9 ## … … 32 32 33 33 psm = 'portal_status_message=Course list validated!' 34 url = context.absolute_url() + action+ '?' + psm34 url = context.absolute_url() + '/' + action_after_validate + '?' + psm 35 35 return request.RESPONSE.redirect(url) 36 36
Note: See TracChangeset for help on using the changeset viewer.