src/pyams_content/component/keynumber/portlet/interfaces/__init__.py
branchdev-dc
changeset 702 5d1e4e777dbc
child 705 6490cb72a126
equal deleted inserted replaced
693:26d51b558325 702:5d1e4e777dbc
       
     1 #
       
     2 # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
       
     3 # All Rights Reserved.
       
     4 #
       
     5 # This software is subject to the provisions of the Zope Public License,
       
     6 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
       
     7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
       
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
       
    10 # FOR A PARTICULAR PURPOSE.
       
    11 #
       
    12 
       
    13 __docformat__ = 'restructuredtext'
       
    14 
       
    15 
       
    16 # import standard library
       
    17 
       
    18 # import interfaces
       
    19 from pyams_portal.interfaces import IPortletSettings
       
    20 
       
    21 # import packages
       
    22 from zope.schema import Text, TextLine
       
    23 from pyams_content import _
       
    24 
       
    25 
       
    26 class IKeyNumberPortletSettings(IPortletSettings):
       
    27     """Key numbers portlet settings interface"""
       
    28 
       
    29     title = TextLine(title=_("Title"),
       
    30                      required=False)
       
    31 
       
    32     teaser = Text(title=_("Teaser"),
       
    33                   required=False)
       
    34