Changeset 1896 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 14 Jun 2007, 13:17:35 (18 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
r1892 r1896 68 68 context.portal_workflow.doActionFor(cr,'open') 69 69 cr.getContent().edit(mapping=d) 70 context.portal_workflow.doActionFor(cr,'close')70 #context.portal_workflow.doActionFor(cr,'close') 71 71 args['course_id'] = course_id 72 72 -
WAeUP_SRP/trunk/skins/waeup_student/display_cest_results.py
r1892 r1896 29 29 button = "Search", 30 30 ) 31 if True orpsm == 'invalid':31 if psm == 'invalid': 32 32 return context.display_cest_results_form(rendered = res, 33 33 psm = "Please correct your input!", -
WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
r1874 r1896 100 100 if id.endswith('_co'): 101 101 d = context.getCourseInfo(id[:-3]) 102 try: 103 credits_total += int(d['credits']) 104 except ValueError: 105 credits_total += 0 102 106 d['id'] = id 103 107 d['grade'] = obj.getContent().grade … … 128 132 129 133 return info 134
Note: See TracChangeset for help on using the changeset viewer.