Changeset 1017
- Timestamp:
- 8 Dec 2006, 21:12:01 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_edit.py
r1016 r1017 32 32 logger.info('"anonymous access","%s"' % request.get('URL0')) 33 33 REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 34 34 35 35 student = info['student'] 36 36 app = info['app'] … … 56 56 elif cpsdocument_edit_and_view_button: 57 57 if app_doc.passport is not None: 58 logger.info('"%s", " continue' % (info['id']))58 logger.info('"%s", "proceeded to start clearance' % (info['id'])) 59 59 action = "/start_clearance" 60 60 base_url = student.absolute_url() -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1016 r1017 53 53 psm = "Content changed!" 54 54 if context.isStudent(): 55 action = "/clearance_edit_form" 55 action = "/clearance_edit_form" 56 56 elif cpsdocument_edit_and_view_button: 57 57 if acknowledge and info['review_state'] == "clearance_pin_entered": … … 64 64 action = "/clearance_view" 65 65 elif acknowledge and info['review_state'] != "clearance_pin_entered": 66 logger.info('"%s"," doublerequested clearance"' % (student_id))67 psm = "You have already requested clearance "66 logger.info('"%s","repeatedly requested clearance"' % (student_id)) 67 psm = "You have already requested clearance!" 68 68 if context.isStudent(): 69 69 action = "/clearance_edit_form" -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r1016 r1017 41 41 break 42 42 if member_id != requested_id: 43 logger.info(" Student %s tried to access %s" % (member_id,requested_id))43 logger.info("student %s tried to access %s" % (member_id,requested_id)) 44 44 student_id = member_id 45 45 #mtool.assertViewable(context) -
WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
r1016 r1017 58 58 ) 59 59 pin = str(ds.get('clr_ac_pin')) 60 logger.info('"%s", " %s"' % (info['id'],pin))60 logger.info('"%s", "entered clearance pin", "%s"' % (info['id'],pin)) 61 61 wf.doActionFor(info['student'],'enter_clearance_pin') 62 62 wf.doActionFor(info['clear'],'open') … … 64 64 app_doc = info['app_doc'] 65 65 dc['lga_ident'] = app_doc.get('jamb_lga') 66 dc['lga'] = app_doc.get('jamb_state','no state') + ' / ' + app_doc.get('jamb_lga','no lga') 66 dc['lga'] = app_doc.get('jamb_state','no state') + ' / ' + app_doc.get('jamb_lga','no lga') 67 67 dc['clr_ac_date'] = current 68 68 dc['entry_date'] = current
Note: See TracChangeset for help on using the changeset viewer.