- Timestamp:
- 30 Jan 2014, 17:11:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser.py
r10706 r11013 40 40 from waeup.kofa.browser.pages import ContactAdminForm, ExportCSVView, doll_up 41 41 from waeup.kofa.browser.resources import ( 42 datepicker, datatable, tabs,warning, toggleall)42 datepicker, warning, toggleall) 43 43 from waeup.kofa.browser.layout import jsaction, action, UtilityView 44 44 from waeup.kofa.browser.interfaces import ICaptchaManager … … 263 263 264 264 def update(self, *args, **kw): 265 datatable.need()266 265 form = self.request.form 267 266 self.hitlist = [] … … 307 306 308 307 def update(self, *args, **kw): 309 datatable.need()310 308 toggleall.need() 311 309 warning.need() … … 536 534 def update(self): 537 535 datepicker.need() # Enable jQuery datepicker in date fields. 538 tabs.need()539 536 self.tab1 = self.tab2 = '' 540 537 qs = self.request.get('QUERY_STRING', '') … … 766 763 def update(self): 767 764 datepicker.need() # Enable jQuery datepicker in date fields. 768 tabs.need()769 765 self.tab1 = self.tab2 = '' 770 766 qs = self.request.get('QUERY_STRING', '') … … 987 983 return 988 984 super(StudyCourseManageFormPage, self).update() 989 tabs.need()990 985 self.tab1 = self.tab2 = '' 991 986 qs = self.request.get('QUERY_STRING', '') … … 994 989 setattr(self, qs, 'active') 995 990 warning.need() 996 datatable.need()997 991 return 998 992 … … 1023 1017 yield(dict(code=code, title=title)) 1024 1018 1025 @action(_('Add study level') )1019 @action(_('Add study level'), style='primary') 1026 1020 def addStudyLevel(self, **data): 1027 1021 level_code = self.request.form.get('addlevel', None) … … 1082 1076 def update(self, SUBMIT=None): 1083 1077 super(StudentTranscriptRequestPage, self).update() 1084 tabs.need()1085 1078 self.tab1 = self.tab2 = '' 1086 1079 qs = self.request.get('QUERY_STRING', '') … … 1157 1150 def update(self, SUBMIT=None): 1158 1151 super(StudentTranscriptRequestProcessFormPage, self).update() 1159 tabs.need()1160 1152 self.tab1 = self.tab2 = '' 1161 1153 qs = self.request.get('QUERY_STRING', '') … … 1375 1367 def update(self): 1376 1368 super(StudyLevelDisplayFormPage, self).update() 1377 datatable.need()1378 1369 return 1379 1370 … … 1486 1477 tabtwoactions = [_('Add course ticket'), 1487 1478 _('Remove selected tickets'),_('Cancel')] 1479 placeholder = _('Enter valid course code') 1488 1480 1489 1481 def update(self, ADD=None, course=None): … … 1492 1484 return 1493 1485 super(StudyLevelManageFormPage, self).update() 1494 tabs.need()1495 1486 self.tab1 = self.tab2 = '' 1496 1487 qs = self.request.get('QUERY_STRING', '') … … 1499 1490 setattr(self, qs, 'active') 1500 1491 warning.need() 1501 datatable.need()1502 1492 if ADD is not None: 1503 1493 if not course: … … 1721 1711 def update(self): 1722 1712 super(PaymentsManageFormPage, self).update() 1723 datatable.need()1724 1713 warning.need() 1725 1714 return … … 1991 1980 def update(self): 1992 1981 super(AccommodationManageFormPage, self).update() 1993 datatable.need()1994 1982 warning.need() 1995 1983 return … … 2646 2634 return 2647 2635 super(StudyLevelEditFormPage, self).update() 2648 datatable.need()2649 2636 warning.need() 2650 2637 if ADD is not None: … … 2965 2952 2966 2953 def update(self, SHOW=None, session=None, level=None): 2967 datatable.need()2968 2954 self.parent_url = self.url(self.context.__parent__) 2969 2955 self._set_session_values() … … 3080 3066 self.redirect(self.url(self.context)) 3081 3067 return 3082 datatable.need()3083 3068 self.tickets = self._searchCatalog(self.current_academic_session) 3084 3069 editable_tickets = [
Note: See TracChangeset for help on using the changeset viewer.