Changeset 3682 for WAeUP_SRP/ois/waeup_custom
- Timestamp:
- 21 Sep 2008, 06:01:55 (16 years ago)
- Location:
- WAeUP_SRP/ois/waeup_custom
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/ois/waeup_custom/getStudyLevelInfo.py
r3628 r3682 76 76 cert_id = student.course 77 77 info['cert_id'] = cert_id 78 if context.objectIds():79 course_results.moveResultsHere(context,student_id)80 logger.info("%s initiated moveResultsHere for %s in level %s" % (member_id,student_id,level_id))81 78 total_credits,gpa,carry_overs,normal1,normal2,normal3 = course_results.getCourses(student_id,level_id) 82 79 info['total_credits'] = total_credits … … 84 81 #start customization 85 82 83 84 86 85 max_credits = 58 87 86 info['without_score'] = False 88 87 info['without_cascore'] = False 89 88 90 91 92 93 94 95 89 items = [] 90 subobjects = context.objectValues() 91 for subobject in subobjects: 92 row = {} 93 row['id'] = subobject.getId() 94 row['title'] = '%s' % context.portal_vocabularies.terms.get(subobject.getId()) 95 items.append(row) 96 info['items'] = items 96 97 97 98
Note: See TracChangeset for help on using the changeset viewer.