Source code for pyams_content.features.thesaurus.interfaces

#
# Copyright (c) 2008-2018 Thierry Florac <tflorac AT ulthar.net>
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#

__docformat__ = 'restructuredtext'

from zope.annotation import IAttributeAnnotatable
from zope.interface import Interface

from pyams_content import _
from pyams_i18n.schema import I18nHTMLField


THESAURUS_TERM_HTML_INFO_KEY = 'pyams_content.term.html_info'


[docs]class IThesaurusTermHTMLInfo(Interface): """Thesaurus term HTML info""" description = I18nHTMLField(title=_("HTML content"), required=False)
[docs]class IThesaurusTermHTMLTarget(IAttributeAnnotatable): """Thesaurus term HTML description target"""