Changeset 1794 for WAeUP_SRP/trunk/skins
- Timestamp:
- 17 May 2007, 16:40:34 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py
r1448 r1794 78 78 student['session'] = session 79 79 registered = None 80 res = context. students_catalog(matric_no = student_rec.matric_no)80 res = context.returning_import(matric_no = student_rec.matric_no) 81 81 if res: 82 82 student_id = res[0].id -
WAeUP_SRP/trunk/skins/waeup_student/set_access_data.py
r1582 r1794 21 21 sid = st_res[0].id 22 22 else: 23 logger.info('Student object with matric_no does not exist' % matric_no) 23 st_res = context.returning_import(matric_no = matric_no) 24 if st_res: 25 sid = st_res[0].id 26 logger.info('Student object with matric_no %s does not exist in students_catalog. Id taken from returning_import.' % matric_no) 27 else: 28 logger.info('Student object with matric_no %s neither exists in students_catalog nor in returning_import.' % matric_no) 29 return 24 30 res,psm,ds = lt.renderLayout(layout_id= 'student_session_results_search', 25 31 schema_id= 'student_returning',
Note: See TracChangeset for help on using the changeset viewer.