Changeset 893
- Timestamp:
- 19 Nov 2006, 06:27:31 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r891 r893 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=REQUEST 7 ##parameters=REQUEST, acknowledge=None 8 8 ##title= 9 9 # $Id$ … … 20 20 clear_and_validate_button = REQUEST.has_key('clear_and_validate_button') 21 21 reject_clearance_button = REQUEST.has_key('reject_clearance_button') 22 22 23 # Until ajax posts directly to its own script... 23 24 ##if 'ajax_edit' in REQUEST.form: … … 48 49 psm = "Content changed!" 49 50 elif cpsdocument_edit_and_view_button: 50 wftool.doActionFor(info['clear'],'close') 51 wftool.doActionFor(info['student'],'request_clearance',dest_container=1) 52 psm = "You successfully requested clearance!" 51 if acknowledge: 52 wftool.doActionFor(info['clear'],'close') 53 wftool.doActionFor(info['student'],'request_clearance',dest_container=1) 54 psm = "You successfully requested clearance!" 55 else: 56 psm = "You must tick the acknowledgement check box before submission!" 53 57 elif clear_and_validate_button: 54 58 wftool.doActionFor(info['student'],'clear_and_validate') -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt
r891 r893 72 72 <!-- isStudent --> 73 73 <tal:block condition="context/isStudent"> 74 75 <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> 76 <input type="checkbox" value="True" name="acknowledge" /> 77 78 I hereby acknowledge by ticking this check box 79 that, if it is discovered at any time that I do not possess any of the 80 qualifications which I claim to have obtained, I will be expelled from the 81 University and shall not be re-admitted for the same or any other programme, 82 even if I have upgraded my previous qualifications or possess additional 83 qualifications. 84 </div> 85 <br /> 86 87 74 88 <input type="submit" class="standalone" 75 89 name="cpsdocument_edit_button"
Note: See TracChangeset for help on using the changeset viewer.