This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
tabellio.pfbviews/tabellio/pfbviews/burevent.py

27 lines
589 B
Python

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')