From e24566898f35a80291781b1e9d124f1c0de176dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 29 Nov 2011 18:30:54 +0100 Subject: [PATCH] add rich text field for event text --- tabellio/agenda/event.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tabellio/agenda/event.py b/tabellio/agenda/event.py index 78fe740..4cd1c52 100644 --- a/tabellio/agenda/event.py +++ b/tabellio/agenda/event.py @@ -10,6 +10,7 @@ from Products.CMFCore.utils import getToolByName from zope.i18n.locales import locales from plone.directives import form, dexterity from plone.dexterity.content import Item +from plone.app.textfield import RichText from tabellio.agenda.interfaces import MessageFactory as _ @@ -25,6 +26,7 @@ class IBaseEvent(form.Schema): start = schema.Datetime(title=_(u'Start')) end = schema.Datetime(title=_(u'End'), required=False) + text = RichText(title=_(u'Text'), required=False) class IEvent(IBaseEvent):