Ignore:
Timestamp:
22 Nov 2012, 20:47:52 (12 years ago)
Author:
Henrik Bettermann
Message:

Customize LoginPage?. Yesterday Uniben requested a feature to display suspended_comment when a deactivated student logs in. Today they want to remove this feature again. I leave the feature in the base package but customize it here.

File:
1 edited

Legend:

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

    r8247 r9709  
    1818import grok
    1919from waeup.kofa.browser.pages import (
    20     SessionConfigurationAddFormPage, SessionConfigurationManageFormPage)
     20    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage,
     21    LoginPage)
    2122from waeup.uniben.interfaces import (
    2223    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
     
    3132    """
    3233    form_fields = grok.AutoFields(ICustomSessionConfiguration)
     34
     35class CustomLoginPage(LoginPage):
     36
     37    def _comment(self, student):
     38        return None
Note: See TracChangeset for help on using the changeset viewer.