- Timestamp:
- 31 Jan 2014, 09:14:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser.py
r11014 r11016 39 39 from waeup.kofa.browser.breadcrumbs import Breadcrumb 40 40 from waeup.kofa.browser.pages import ContactAdminForm, ExportCSVView, doll_up 41 from waeup.kofa.browser.resources import (42 datepicker, warning, toggleall)43 41 from waeup.kofa.browser.layout import jsaction, action, UtilityView 44 42 from waeup.kofa.browser.interfaces import ICaptchaManager … … 307 305 308 306 def update(self, *args, **kw): 309 toggleall.need()310 warning.need()311 307 form = self.request.form 312 308 self.hitlist = [] … … 535 531 536 532 def update(self): 537 datepicker.need() # Enable jQuery datepicker in date fields.538 533 super(StudentBaseManageFormPage, self).update() 539 534 self.wf_info = IWorkflowInfo(self.context) … … 758 753 return form_fields 759 754 760 def update(self):761 datepicker.need() # Enable jQuery datepicker in date fields.762 return super(StudentClearanceManageFormPage, self).update()763 764 755 @action(_('Save'), style='primary') 765 756 def save(self, **data): … … 975 966 return 976 967 super(StudyCourseManageFormPage, self).update() 977 warning.need()978 968 return 979 969 … … 1294 1284 pnav = 4 1295 1285 1296 def update(self):1297 super(StudentTransferFormPage, self).update()1298 warning.need()1299 return1300 1301 1286 @jsaction(_('Transfer')) 1302 1287 def transferStudent(self, **data): … … 1325 1310 1326 1311 def update(self): 1327 warning.need()1328 1312 if not self.context.has_key('studycourse_1'): 1329 1313 self.flash(_('No previous transfer.'), type="warning") … … 1470 1454 return 1471 1455 super(StudyLevelManageFormPage, self).update() 1472 warning.need()1473 1456 if ADD is not None: 1474 1457 if not course: … … 1691 1674 return _('${a}: Payments', 1692 1675 mapping = {'a':self.context.__parent__.display_fullname}) 1693 1694 def update(self):1695 super(PaymentsManageFormPage, self).update()1696 warning.need()1697 return1698 1676 1699 1677 @jsaction(_('Remove selected tickets')) … … 1961 1939 return _('${a}: Accommodation', 1962 1940 mapping = {'a':self.context.__parent__.display_fullname}) 1963 1964 def update(self):1965 super(AccommodationManageFormPage, self).update()1966 warning.need()1967 return1968 1941 1969 1942 @jsaction(_('Remove selected')) … … 2634 2607 return 2635 2608 super(StudyLevelEditFormPage, self).update() 2636 warning.need()2637 2609 if ADD is not None: 2638 2610 if not course:
Note: See TracChangeset for help on using the changeset viewer.