Changeset 1871
- Timestamp:
- 8 Jun 2007, 18:57:59 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py
r1780 r1871 71 71 info['id'] = student_id 72 72 info['student'] = student 73 review_state = info['review_state'] = wf.getInfoFor(student,'review_state',None)73 review_state = info['review_state'] = context.getStudentReviewState() 74 74 booking_allowed = False 75 75 if review_state in ('cleared_and_validated','returning','school_fee_paid','courses_registered', 'courses_validated',): -
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1841 r1871 68 68 payments.getContent().edit(mapping=d) 69 69 student_pume = getattr(student,'pume',None) 70 s_review_state = wftool.getInfoFor(student,'review_state',None)70 s_review_state = context.getStudentReviewState() 71 71 a_review_state = wftool.getInfoFor(student_app,'review_state',None) 72 72 student_per = getattr(student,'personal',None) -
WAeUP_SRP/trunk/skins/waeup_epayment/check_transactions.py
r1625 r1871 75 75 logger.info('payment object of %s closed' % (student_id)) 76 76 continue 77 review_state = wftool.getInfoFor(student_obj,'review_state',None)77 review_state = context.getStudentReviewState() 78 78 if review_state != "cleared_and_validated": 79 79 logger.info('%s review_state = %s' % (student_id,review_state)) -
WAeUP_SRP/trunk/skins/waeup_student/getApplicationInfo.py
r1571 r1871 41 41 info['id'] = student_id 42 42 info['student'] = student 43 info['review_state'] = wf.getInfoFor(student,'review_state',None)43 info['review_state'] = context.getStudentReviewState() 44 44 info['app'] = student.application 45 45 info['app_doc'] = student.application.getContent() -
WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py
r1571 r1871 47 47 info['id'] = student_id 48 48 info['student'] = student 49 info['review_state'] = wf.getInfoFor(student,'review_state',None)49 info['review_state'] = context.getStudentReviewState() 50 50 info['app'] = student.application 51 51 info['app_doc'] = student.application.getContent() -
WAeUP_SRP/trunk/skins/waeup_student/getCourseResultInfo.py
r1861 r1871 44 44 ## info['review_state'] = res[0].review_state 45 45 info['id'] = student_id 46 info['review_state'] = wf.getInfoFor(student,'review_state',None)46 info['review_state'] = context.getStudentReviewState() 47 47 #info['per'] = student.personal 48 48 info['course_doc'] = context.getContent() -
WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py
r1571 r1871 44 44 info['student'] = student 45 45 info['id'] = student_id 46 info['review_state'] = wf.getInfoFor(student,'review_state',None)46 info['review_state'] = context.getStudentReviewState() 47 47 info['per'] = student.personal 48 48 info['app'] = student.application -
WAeUP_SRP/trunk/skins/waeup_student/getPersonalInfo.py
r1571 r1871 44 44 ## info['review_state'] = res[0].review_state 45 45 info['id'] = student_id 46 info['review_state'] = wf.getInfoFor(student,'review_state',None)46 info['review_state'] = context.getStudentReviewState() 47 47 info['per'] = student.personal 48 48 info['per_doc'] = student.personal.getContent() -
WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py
r1571 r1871 53 53 for field in context.students_catalog.schema(): 54 54 info[field] = getattr(st_brain,field) 55 res = context.portal_catalog(portal_type='Student',id = student_id) 56 if res: 57 info['review_state'] = res[0].review_state 55 56 #res = context.portal_catalog(portal_type='Student',id = student_id) 57 #if res: 58 # info['review_state'] = res[0].review_state 59 60 info['review_state'] = context.getStudentReviewState() 58 61 59 62 info['session'] = False -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r1571 r1871 63 63 ##student = brain.getObject() 64 64 65 info['review_state'] = wf.getInfoFor(student,'review_state',None)65 info['review_state'] = context.getStudentReviewState() 66 66 info['student'] = student 67 67 info['id'] = student.getId() -
WAeUP_SRP/trunk/skins/waeup_student/getStudentWorkflowInfo.py
r1427 r1871 27 27 #info['student'] = student 28 28 info['url'] = student.absolute_url() 29 review_state = info['review_state'] = wf.getInfoFor(student,'review_state',None)29 review_state = info['review_state'] = context.getStudentReviewState() 30 30 info['cr'] = review_state in ('returning', 31 31 'school_fee_paid', -
WAeUP_SRP/trunk/skins/waeup_student/get_searchable_student_states.py
r1557 r1871 1 ## Script (Python) "get_searchable_ review_states"1 ## Script (Python) "get_searchable_student_states" 2 2 ##bind container=container 3 3 ##bind context=context
Note: See TracChangeset for help on using the changeset viewer.