diff --git a/tabellio/pfbviews/burevent.py b/tabellio/pfbviews/burevent.py new file mode 100644 index 0000000..753ca03 --- /dev/null +++ b/tabellio/pfbviews/burevent.py @@ -0,0 +1,26 @@ +import os + +from five import grok +from zope import schema, component +from Products.CMFCore.utils import getToolByName + +from plone.registry.interfaces import IRegistry +from tabellio.config.interfaces import ITabellioSettings + +import tabellio.agenda.burevent + + +class BurEventBaseView(tabellio.agenda.parlevent.ParlEventBaseView): + def has_stream(self): + return False + + +class BurEventView(BurEventBaseView): + def get_stream_name(self): + return None + + +class View(grok.View, BurEventView): + grok.context(tabellio.agenda.burevent.IBurEvent) + grok.require('zope2.View') + diff --git a/tabellio/pfbviews/burevent_templates/view.pt b/tabellio/pfbviews/burevent_templates/view.pt new file mode 100644 index 0000000..580dbb8 --- /dev/null +++ b/tabellio/pfbviews/burevent_templates/view.pt @@ -0,0 +1,47 @@ + +
+ ++ Lieu : +
+ +