Changeset 5161 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 20 Apr 2010, 14:44:54 (15 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getCourseResultInfo.py
r1871 r5161 40 40 student = getattr(students_object, student_id) 41 41 info['student'] = student 42 ##res = context.portal_catalog(id = student_id)43 ##if res:44 ## info['review_state'] = res[0].review_state45 42 info['id'] = student_id 46 43 info['review_state'] = context.getStudentReviewState() -
WAeUP_SRP/trunk/skins/waeup_student/getPersonalInfo.py
r3102 r5161 44 44 student = getattr(students_object, student_id) 45 45 info['student'] = student 46 ##res = context.portal_catalog(id = student_id)47 ##if res:48 ## info['review_state'] = res[0].review_state49 46 info['id'] = student_id 50 47 info['review_state'] = context.getStudentReviewState() -
WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py
r3868 r5161 29 29 logger = logging.getLogger('Skins.getStudentFolderInfo') 30 30 from Products.AdvancedQuery import Eq, Between, Le,In 31 try:32 aq_portal = context.portal_catalog.evalAdvancedQuery33 except:34 aq_portal = context.portal_catalog_real.evalAdvancedQuery35 31 36 32 -
WAeUP_SRP/trunk/skins/waeup_student/getStudentReviewState.py
r1870 r5161 17 17 def set_trace(): 18 18 pass 19 # from Products.AdvancedQuery import Eq, Between, Le,In20 # try:21 # aq_portal = context.portal_catalog.evalAdvancedQuery22 # except:23 # aq_portal = context.portal_catalog_real.evalAdvancedQuery24 19 if student_id is None: 25 20 student_id = context.getStudentId() 26 #query = Eq('id',student_id)27 #res = aq_portal(query)28 21 res = context.students_catalog(id = student_id) 29 22 if not res: -
WAeUP_SRP/trunk/skins/waeup_student/remove_students.py
r2958 r5161 21 21 logger = logging.getLogger('Skins.remove_students') 22 22 from Products.AdvancedQuery import Eq, Between, Le,In 23 #aq_portal = context.portal_catalog_real.evalAdvancedQuery24 23 aq_students = context.students_catalog.evalAdvancedQuery 25 24 students_folder = context.portal_url.getPortalObject().campus.students
Note: See TracChangeset for help on using the changeset viewer.