- Timestamp:
- 16 Nov 2007, 08:18:48 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/clearance_edit.py
r2672 r2673 111 111 req_found = [scan for scan in required_scans if scan in files] 112 112 birth_found = "age_dec" in files or "birth_certificate" in files 113 #if not req_found or not birth_found:114 #logger.info('%s requested clearance with documents missing' % (student_id))115 #psm = "You have not uploaded all necessary documents to request clearance!"116 if not clear_doc.firstname or not clear_doc.lastname:113 if not req_found or not birth_found: 114 logger.info('%s requested clearance with documents missing' % (student_id)) 115 psm = "You have not uploaded all necessary documents to request clearance!" 116 elif not clear_doc.firstname or not clear_doc.lastname: 117 117 logger.info('%s requested clearance without confirming name' % (student_id)) 118 118 psm = "Please fill the name fields! First and last name are required. "
Note: See TracChangeset for help on using the changeset viewer.