Changeset 13773 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 10 Mar 2016, 07:57:24 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r13766 r13773 2612 2612 except KeyError: 2613 2613 self.flash(_('This level exists.'), type="warning") 2614 self.redirect(self.url(self.context)) 2615 return 2614 2616 except RequiredMissing: 2615 self.flash(_('Your data are incomplete'), type="danger") 2616 self.redirect(self.url(self.context)) 2617 self.flash(_('Your data are incomplete.'), type="danger") 2618 self.redirect(self.url(self.context)) 2619 return 2620 self.flash(_('You successfully created a new course list.')) 2621 self.redirect(self.url(self.context, str(studylevel.level))) 2617 2622 return 2618 2623 -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studyleveladdpage.pt
r7811 r13773 2 2 i18n:domain="waeup.kofa" enctype="multipart/form-data"> 3 3 4 <p i18n:translate="">Text to explain course registration procedure.</p> 4 <p i18n:translate="">In Kofa a study level is a container for courses, 5 which means it can list the courses taken by the student at a certain level. 6 The container also 7 stores and provides the information when and by whom the course list was 8 validated, in which session the level was taken and which verdict the 9 student finally obtained. 10 </p> 5 11 6 12 <div class="actionButtons" tal:condition="view/availableActions"> -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13769 r13773 2659 2659 self.browser.contents) 2660 2660 self.browser.getControl("Create course list now").click() 2661 self.assertTrue("You successfully created a new course list" 2662 in self.browser.contents) 2661 2663 # A level with one course ticket was created 2662 2664 self.assertEqual(self.student['studycourse']['999'].number_of_tickets, 0) 2663 self.browser.getLink("999").click()2664 2665 self.browser.getLink("Edit course list").click() 2665 2666 self.browser.getLink("here").click()
Note: See TracChangeset for help on using the changeset viewer.