Changeset 9826
- Timestamp:
- 5 Jan 2013, 14:07:47 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r9822 r9826 2251 2251 data['course'] = self.context.course 2252 2252 parent.addCertCourse(**data) 2253 parent.delCertCourse (data['course'].code, level=old_level)2253 parent.delCertCourses(data['course'].code, level=old_level) 2254 2254 self.flash(_('Form has been saved.')) 2255 2255 old_code = "%s_%s" % (data['course'].code, old_level) -
main/waeup.kofa/trunk/src/waeup/kofa/university/batching.py
r9706 r9826 395 395 def delEntry(self, row, site): 396 396 parent = self.getParent(row, site) 397 parent.delCertCourse (row['course'].code, row['level'])398 return 397 parent.delCertCourses(row['course'].code, row['level']) 398 return -
main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.py
r9824 r9826 74 74 self._p_changed = True 75 75 76 def delCertCourse (self, code, level=None):76 def delCertCourses(self, code, level=None): 77 77 """Delete certificate courses. 78 78 -
main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.txt
r8920 r9826 106 106 the 'real' course in the department container. 107 107 108 .. method:: delCertCourse (code)108 .. method:: delCertCourses(code) 109 109 110 110 Remove a certificate course from a certificate. -
main/waeup.kofa/trunk/src/waeup/kofa/university/course.py
r9824 r9826 90 90 continue 91 91 reduced_results.append(certcourse) 92 # Now we can apply delCertCourse 92 # Now we can apply delCertCourses 93 93 for certcourse in reduced_results: 94 94 cert = certcourse.__parent__ 95 cert.delCertCourse (code)95 cert.delCertCourses(code) 96 96 return 97 97
Note: See TracChangeset for help on using the changeset viewer.