Changeset 1913 for WAeUP_SRP/trunk
- Timestamp:
- 17 Jun 2007, 05:56:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1874 r1913 36 36 is_anon = mtool.isAnonymousUser() 37 37 member = mtool.getAuthenticatedMember() 38 load_passport = hasattr(context.waeup_tool,'loadStudentFoto')38 #load_passport = hasattr(context.waeup_tool,'loadStudentFoto') 39 39 40 40 if not is_anon: … … 90 90 91 91 #from Products.zdb import set_trace;set_trace() 92 if s_review_state == 'returning' and load_passport and'passport' not in app_doc.objectIds():92 if s_review_state == 'returning' and 'passport' not in app_doc.objectIds(): 93 93 folder = 'pictures_returning' 94 94 res = context.students_catalog(id = str(member)) … … 96 96 msg = context.waeup_tool.loadStudentFoto(student,filename,folder) 97 97 logger.info('%s, %s' % (member,msg)) 98 if s_review_state == 'admitted' and load_passportand 'passport' not in app_doc.objectIds():98 if s_review_state in ('admitted', 'clearance_pin_entered', 'clearance_requested') and 'passport' not in app_doc.objectIds(): 99 99 folder = 'pictures_admitted_latest' 100 100 filename = app_doc.jamb_reg_no.replace('/','_')
Note: See TracChangeset for help on using the changeset viewer.