Changeset 895 for WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
- Timestamp:
- 19 Nov 2006, 10:54:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r894 r895 44 44 psm = "" 45 45 args = {} 46 action = "/ clearance_edit_form"46 action = "/external_clearance_edit_form" 47 47 if is_valid: 48 48 if cpsdocument_edit_button: … … 53 53 wftool.doActionFor(info['student'],'request_clearance',dest_container=1) 54 54 psm = "You successfully requested clearance!" 55 action = "/clearance_view" 55 if context.isStudent(): 56 action = "/clearance_view" 56 57 else: 57 58 psm = "You must tick the acknowledgement check box before submission!" 59 if context.isStudent(): 60 action = "/clearance_edit_form" 58 61 elif clear_and_validate_button: 59 62 wftool.doActionFor(info['student'],'clear_and_validate')
Note: See TracChangeset for help on using the changeset viewer.