Changeset 13028 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 3 Jun 2015, 11:11:39 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r13024 r13028 756 756 757 757 def update(self): 758 cdm = getUtility(IStudentsUtils).clearance_disabled_message(self.context) 758 cdm = getUtility(IStudentsUtils).clearance_disabled_message( 759 self.context) 759 760 if cdm: 760 761 self.flash(cdm) … … 773 774 774 775 class StudentRejectClearancePage(KofaEditFormPage): 775 """ Reject clearance by clearance officers 776 """ Reject clearance by clearance officers. 776 777 """ 777 778 grok.context(IStudent) … … 783 784 784 785 def update(self): 785 cdm = getUtility(IStudentsUtils).clearance_disabled_message(self.context) 786 cdm = getUtility(IStudentsUtils).clearance_disabled_message( 787 self.context) 786 788 if cdm: 787 789 self.flash(cdm, type="warning") -
main/waeup.kofa/trunk/src/waeup/kofa/students/student.py
r13026 r13028 239 239 current_level=None, current_verdict=None, previous_verdict=None): 240 240 """ Creates a new studycourse and backups the old one. 241 242 241 """ 243 242 newcourse = createObject(u'waeup.StudentStudyCourse') … … 267 266 self.__parent__.logger.info( 268 267 '%s - transferred from %s to %s' % ( 269 self.student_id, oldcourse.certificate.code, newcourse.certificate.code)) 268 self.student_id, 269 oldcourse.certificate.code, 270 newcourse.certificate.code)) 270 271 history = IObjectHistory(self) 271 272 history.addMessage('Transferred from %s to %s' % (
Note: See TracChangeset for help on using the changeset viewer.