Ignore:
Timestamp:
16 Jun 2015, 11:28:07 (9 years ago)
Author:
Henrik Bettermann
Message:

Rename student views which are not layout-aware and thus not pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r13010 r13055  
    4444from waeup.kofa.utils.helpers import html2dict
    4545from waeup.kofa.browser.layout import (
    46     KofaPage, KofaForm, KofaEditFormPage, KofaAddFormPage,
     46    KofaPage, KofaFormPage, KofaEditFormPage, KofaAddFormPage,
    4747    KofaDisplayFormPage, NullValidator)
    4848from waeup.kofa.browser.interfaces import (
     
    415415#
    416416
    417 class ContactAdminForm(KofaForm):
     417class ContactAdminFormPage(KofaFormPage):
    418418    grok.name('contactadmin')
    419419    #grok.context(IUniversity)
     
    424424
    425425    def update(self):
    426         super(ContactAdminForm, self).update()
     426        super(ContactAdminFormPage, self).update()
    427427        self.form_fields.get('body').field.default = None
    428428        return
     
    461461        return
    462462
    463 class EnquiriesForm(ContactAdminForm):
     463class EnquiriesFormPage(ContactAdminFormPage):
    464464    """Captcha'd page to let anonymous send emails to the administrator.
    465465    """
     
    471471
    472472    def update(self):
    473         super(EnquiriesForm, self).update()
     473        super(EnquiriesFormPage, self).update()
    474474        # Handle captcha
    475475        self.captcha = getUtility(ICaptchaManager).getCaptcha()
     
    843843        return
    844844
    845 class ContactUserForm(ContactAdminForm):
     845class ContactUserFormPage(ContactAdminFormPage):
    846846    grok.name('contactuser')
    847847    grok.context(IUserAccount)
     
    24312431        return
    24322432
    2433 class ChangePasswordRequestPage(KofaForm):
     2433class ChangePasswordRequestPage(KofaFormPage):
    24342434    """Captcha'd page for all kind of users to request a password change.
    24352435    """
Note: See TracChangeset for help on using the changeset viewer.