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/layout.py

    r11437 r13055  
    167167    grok.baseclass()
    168168
    169 class KofaForm(UtilityView,Form):
     169class KofaPage(UtilityView,Page):
     170    """A megrok.layout page with additional methods.
     171    """
     172    grok.baseclass()
     173
     174class KofaFormPage(UtilityView,Form):
    170175    """A megrok.layout.Form with additional methods.
    171176    """
     
    173178
    174179    def setUpWidgets(self,ignore_request=False):
    175         super(KofaForm,self).setUpWidgets(ignore_request)
     180        super(KofaFormPage,self).setUpWidgets(ignore_request)
    176181        # Width parameters will be overridden by Bootstrap
    177182        # so we have to set the css class
    178183        if self.widgets.get('body'):
    179184            self.widgets['body'].height = 10
    180 
    181 class KofaPage(UtilityView,Page):
    182     """A megrok.layout page with additional methods.
    183     """
    184     grok.baseclass()
    185185
    186186class KofaDisplayFormPage(UtilityView,DisplayForm):
Note: See TracChangeset for help on using the changeset viewer.