Changeset 3367
- Timestamp:
- 21 Mar 2008, 13:29:31 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 added
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r3355 r3367 798 798 elif self.reference == '': 799 799 #s = getStudentByRegNo(self,value) 800 pume= reg_no_catalog(jamb_reg_no = value)801 if len( pume) < 1:800 student_record = reg_no_catalog(jamb_reg_no = value) 801 if len(student_record) < 1: 802 802 err = 'No student record with this registration number' 803 elif self.catalog == "students_catalog" and student_record[0].review_state not in ('student_created','admitted'): 804 err = 'Admission checking not allowed (wrong registration state)' 803 805 else: 804 datastructure[' pume'] = pume[0]806 datastructure['student_record'] = student_record[0] 805 807 elif mode == 'add': 806 808 pass … … 2194 2196 return info 2195 2197 ###) 2196 2198 2197 2199 def prepare(self, datastructure, **kw): ###( 2198 2200 """Prepare datastructure from datamodel.""" -
WAeUP_SRP/base/skins/waeup_student/check_admission.py
r3366 r3367 72 72 # url = "%s/campus/students/%s/pume/admission_rejected_view" % (context.portal_url(),s_id) 73 73 # return redirect(url) 74 74 75 75 pw = str(ds.get('app_ac_pin_n')) 76 76 logger.info('%s successfully checked admission and logged in with password %s' % (s_id,pw)) -
WAeUP_SRP/base/skins/waeup_student/set_access_data.py
r1826 r3367 29 29 logger.info('Student object with matric_no %s neither exists in students_catalog nor in returning_import' % matric_no) 30 30 return 31 res,psm,ds = lt.renderLayout(layout_id= 'student_ session_results_search',31 res,psm,ds = lt.renderLayout(layout_id= 'student_firsttime_login', 32 32 schema_id= 'student_returning', 33 33 context=context,
Note: See TracChangeset for help on using the changeset viewer.