Changeset 2033 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 18 Jul 2007, 13:44:13 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1971 r2033 69 69 cr.getContent().edit(mapping=d) 70 70 #context.portal_workflow.doActionFor(cr,'close') 71 args['course_id'] = course_id71 #args['course_id'] = course_id 72 72 73 logger.info('%s added StudentCourseResult object %s for %s' % (member,course_id,context.getStudentId())) 73 logger.info('%s added StudentCourseResult object %s at level %s for %s' % (member, 74 course_id, 75 context.getId(), 76 context.getStudentId())) 74 77 75 78 psm = "You successfully added course %s!" % course_id -
WAeUP_SRP/trunk/skins/waeup_student/create_level.py
r2031 r2033 130 130 course_result = getattr(level,cr_id) 131 131 context.portal_workflow.doActionFor(course_result,'open') 132 d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective') 132 #d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective') 133 d['core_or_elective'] = True 133 134 course_result.getContent().edit(mapping=d) 134 135 context.waeup_tool.doCommit() -
WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
r2031 r2033 112 112 d = context.getCourseInfo(id) 113 113 d['id'] = id 114 coe = obj.getContent().core_or_elective114 coe = getattr(obj.getContent(),'core_or_elective',True) 115 115 d['coe'] = 'Core' 116 116 try:
Note: See TracChangeset for help on using the changeset viewer.