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.config/tabellio/config/interfaces.py

56 lines
1.8 KiB
Python

from zope.interface import Interface
from zope import schema
from zope.i18nmessageid import MessageFactory
_ = MessageFactory(u'tabellio.config')
class ITabellioSettings(Interface):
'''Tabellio Settings'''
commissionsPath = schema.TextLine(
title=_('commissions_path', 'Commissions Path'),
required=False)
deputiesPath = schema.TextLine(
title=_('deputies_path', 'Deputies Path'),
required=False)
documentsPath = schema.TextLine(
title=_('documents_path', 'Documents Path'),
required=False)
dossiersPath = schema.TextLine(
title=_('dossiers_path', 'Dossiers Path'),
required=False)
questionsPath = schema.TextLine(
title=_('questions_path', 'Questions Path'),
required=False)
ministriesPath = schema.TextLine(
title=_('ministries_path', 'Ministries Path'),
required=False)
parleventsPath = schema.TextLine(
title=_('parlevents_path', 'Parlementary Events Path'),
required=False)
personsPath = schema.TextLine(
title=_('persons_path', 'Persons Path'),
required=False)
polgroupsPath = schema.TextLine(
title=_('polgroups_path', 'Political Groups Path'),
required=False)
sessions = schema.Text(
title=_('sessions', 'Sessions'),
required=False)
greffier_name = schema.Text(title=_(u'Greffier Name'), required=False)
greffier_email = schema.Text(title=_(u'Greffier Email'), required=False)
greffier_address_line1 = schema.Text(title=_(u'Greffier Address Line 1'), required=False)
greffier_address_line2 = schema.Text(title=_(u'Greffier Address Line 2'), required=False)
greffier_phone = schema.Text(title=_(u'Greffier Phone'), required=False)
greffier_fax = schema.Text(title=_(u'Greffier Fax'), required=False)