Changeset 1587
- Timestamp:
- 19 Mar 2007, 12:34:02 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/external_study_level_view.pt
r1584 r1587 168 168 class="context" value="Reject" /> 169 169 170 <input type="hidden" name="redir" type="text" id="redir" 171 tal:attributes="value string:/external_study_level_view"/> 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"/> 172 174 173 175 </td> -
WAeUP_SRP/trunk/skins/waeup_student/reject_courses.py
r1575 r1587 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=REQUEST, student=None 7 ##parameters=REQUEST, student=None, action=None, contin=None 8 8 ##title= 9 9 ## … … 34 34 35 35 args = {} 36 action = "/contact_student_form_2" 36 37 37 psm = "Student's course list has been rejected! Please fill and submit the form below!" 38 38 subject = "Course list rejected" 39 39 args['subject'] = subject 40 args['continue'] = 'study_level_view'40 args['continue'] = contin 41 41 args['portal_status_message'] = psm 42 42 url = context.absolute_url() + action + '?' + urlencode(args) -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1584 r1587 175 175 class="context" value="Reject" /> 176 176 177 <input type="hidden" name="redir" type="text" id="redir" 178 tal:attributes="value string:/study_level_view"/> 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"/> 179 181 180 182 </td> -
WAeUP_SRP/trunk/skins/waeup_student/validate_courses.py
r1586 r1587 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=student=None, redir=None7 ##parameters=student=None, action=None 8 8 ##title= 9 9 ## … … 32 32 33 33 psm = 'portal_status_message=Course list validated!' 34 url = context.absolute_url() + redir+ '?' + psm34 url = context.absolute_url() + action + '?' + psm 35 35 return request.RESPONSE.redirect(url) 36 36
Note: See TracChangeset for help on using the changeset viewer.