Changeset 1838
- Timestamp:
- 31 May 2007, 09:49:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1837 r1838 107 107 else: 108 108 psm = "You must tick the acknowledgement check box before submission!" 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 109 elif clear_and_validate_button and info['review_state'] == "clearance_requested": 110 logger.info('%s cleared %s' % (member_id,student_id )) 111 #from Products.zdb import set_trace 112 #set_trace() 113 info['clear_doc'].edit(mapping = {'cleared_date': current,}) 114 wftool.doActionFor(info['student'],'clear_and_validate') 115 psm = "Clearance and eligibility record is validated and and student is cleared!" 116 elif clear_and_validate_button and info['review_state'] == "cleared_and_validated": 117 psm = "This student is already cleared!" 118 elif reject_clearance_button: 119 logger.info('%s rejected clearance for %s' % (member_id,student_id )) 120 wftool.doActionFor(info['clear'],'open') 121 wftool.doActionFor(info['student'],'reject_clearance') 122 action = "/external_contact_student_form" 123 psm = "Student's clearance request has been rejected! Please fill and submit the form below!" 124 subject = "Clearance request rejected" 125 args['subject'] = subject 126 args['continue'] = 'external_clearance_edit_form' 127 127 else: 128 128 psm = "Please correct your errors!"
Note: See TracChangeset for help on using the changeset viewer.