Ignore:
Timestamp:
31 Jan 2014, 09:14:41 (11 years ago)
Author:
Henrik Bettermann
Message:

Remove resources and theming completely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser.py

    r11014 r11016  
    3939from waeup.kofa.browser.breadcrumbs import Breadcrumb
    4040from waeup.kofa.browser.pages import ContactAdminForm, ExportCSVView, doll_up
    41 from waeup.kofa.browser.resources import (
    42     datepicker, warning, toggleall)
    4341from waeup.kofa.browser.layout import jsaction, action, UtilityView
    4442from waeup.kofa.browser.interfaces import ICaptchaManager
     
    307305
    308306    def update(self, *args, **kw):
    309         toggleall.need()
    310         warning.need()
    311307        form = self.request.form
    312308        self.hitlist = []
     
    535531
    536532    def update(self):
    537         datepicker.need() # Enable jQuery datepicker in date fields.
    538533        super(StudentBaseManageFormPage, self).update()
    539534        self.wf_info = IWorkflowInfo(self.context)
     
    758753        return form_fields
    759754
    760     def update(self):
    761         datepicker.need() # Enable jQuery datepicker in date fields.
    762         return super(StudentClearanceManageFormPage, self).update()
    763 
    764755    @action(_('Save'), style='primary')
    765756    def save(self, **data):
     
    975966            return
    976967        super(StudyCourseManageFormPage, self).update()
    977         warning.need()
    978968        return
    979969
     
    12941284    pnav = 4
    12951285
    1296     def update(self):
    1297         super(StudentTransferFormPage, self).update()
    1298         warning.need()
    1299         return
    1300 
    13011286    @jsaction(_('Transfer'))
    13021287    def transferStudent(self, **data):
     
    13251310
    13261311    def update(self):
    1327         warning.need()
    13281312        if not self.context.has_key('studycourse_1'):
    13291313            self.flash(_('No previous transfer.'), type="warning")
     
    14701454            return
    14711455        super(StudyLevelManageFormPage, self).update()
    1472         warning.need()
    14731456        if ADD is not None:
    14741457            if not course:
     
    16911674        return _('${a}: Payments',
    16921675            mapping = {'a':self.context.__parent__.display_fullname})
    1693 
    1694     def update(self):
    1695         super(PaymentsManageFormPage, self).update()
    1696         warning.need()
    1697         return
    16981676
    16991677    @jsaction(_('Remove selected tickets'))
     
    19611939        return _('${a}: Accommodation',
    19621940            mapping = {'a':self.context.__parent__.display_fullname})
    1963 
    1964     def update(self):
    1965         super(AccommodationManageFormPage, self).update()
    1966         warning.need()
    1967         return
    19681941
    19691942    @jsaction(_('Remove selected'))
     
    26342607            return
    26352608        super(StudyLevelEditFormPage, self).update()
    2636         warning.need()
    26372609        if ADD is not None:
    26382610            if not course:
Note: See TracChangeset for help on using the changeset viewer.