Ignore:
Timestamp:
5 May 2012, 05:00:39 (13 years ago)
Author:
Henrik Bettermann
Message:

Add HTMLDisplayWidget which is now used for the frontpage by default.

Add frontpage.html default content.

File:
1 edited

Legend:

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

    r8346 r8361  
    6262from waeup.kofa.university.vocabularies import course_levels
    6363from waeup.kofa.authentication import LocalRoleSetEvent
    64 from waeup.kofa.widgets.restwidget import ReSTDisplayWidget
     64#from waeup.kofa.widgets.restwidget import ReSTDisplayWidget
     65from waeup.kofa.widgets.htmlwidget import HTMLDisplayWidget
    6566from waeup.kofa.authentication import get_principal_role_manager
    6667from waeup.kofa.utils.helpers import get_user_account
     
    623624    label = _(u'View portal configuration')
    624625    form_fields = grok.AutoFields(IConfigurationContainer)
    625     form_fields['frontpage'].custom_widget = ReSTDisplayWidget
     626    form_fields['frontpage'].custom_widget = HTMLDisplayWidget
    626627
    627628class ConfigurationContainerManageFormPage(KofaEditFormPage):
Note: See TracChangeset for help on using the changeset viewer.