Changeset 1584
- Timestamp:
- 19 Mar 2007, 11:47:33 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/external_study_level_view.pt
r1582 r1584 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="redir" type="text" id="redir" 171 tal:attributes="value string:/external_study_level_view"/> 169 172 170 173 </td> -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1571 r1584 174 174 <input tal:condition="python: review_state in ('courses_registered', 'courses_validated',)" type="submit" name="reject_courses:method" 175 175 class="context" value="Reject" /> 176 177 <input type="hidden" name="redir" type="text" id="redir" 178 tal:attributes="value string:/study_level_view"/> 176 179 177 180 </td> -
WAeUP_SRP/trunk/skins/waeup_student/validate_courses.py
r1575 r1584 4 4 ##bind namespace= 5 5 ##bind script=script 6 ##bind subpath=traverse_subpath 6 ##bind subpath=traverse_subpath,redir=None 7 7 ##parameters=student=None 8 8 ##title= … … 29 29 student = getattr(students_folder,context.getStudentId()) 30 30 wftool.doActionFor(student,'validate_courses') 31 logger.info('%s validated course list of %s' % (member,student.getId())) 31 logger.info('%s validated course list of %s' % (member,student.getId())) 32 32 33 33 psm = 'portal_status_message=Course list validated!' 34 url = context.absolute_url() + '?' + psm34 url = context.absolute_url() + redir + '?' + psm 35 35 return request.RESPONSE.redirect(url) 36 36
Note: See TracChangeset for help on using the changeset viewer.