Changeset 1285 for WAeUP_SRP/trunk/skins
- Timestamp:
- 12 Jan 2007, 16:04:40 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1242 r1285 31 31 is_anon = mtool.isAnonymousUser() 32 32 member = mtool.getAuthenticatedMember() 33 load_passport = hasattr(context.waeup_tool,'loadStudentFoto') 33 34 34 35 if not is_anon: … … 65 66 logger.info('"%s", "logged in", "review_state %s"' % (member,s_review_state)) 66 67 app_doc = student_app.getContent() 67 #from Products.zdb import set_trace 68 #set_trace() 68 #from Products.zdb import set_trace;set_trace() 69 if load_passport and 'passport' not in app_doc.objectIds(): 70 msg = context.waeup_tool.loadStudentFoto(student) 71 logger.info('"%s", "%s"' % (member,msg)) 69 72 if s_review_state in ("student_created","admitted") and\ 70 73 a_review_state == 'created' : -
WAeUP_SRP/trunk/skins/waeup_utilities/fixLevel.py
r1284 r1285 66 66 context.students_catalog.modifyRecord(id=id, level=level) 67 67 modified.append("%s, %s" % (id,c)) 68 69 68 return '\n'.join(modified)
Note: See TracChangeset for help on using the changeset viewer.