Added menu header interface
authorThierry Florac <thierry.florac@onf.fr>
Wed, 07 Oct 2015 17:55:11 +0200
changeset 87 3d9fd0c2699c
parent 86 0b28fe5fd535
child 88 8621c907c243
Added menu header interface
src/pyams_skin/interfaces/viewlet.py
--- a/src/pyams_skin/interfaces/viewlet.py	Wed Oct 07 17:54:33 2015 +0200
+++ b/src/pyams_skin/interfaces/viewlet.py	Wed Oct 07 17:55:11 2015 +0200
@@ -18,7 +18,7 @@
 from pyams_viewlet.interfaces import IViewlet, IViewletManager
 
 # import packages
-from zope.interface import Attribute
+from zope.interface import Interface
 from zope.schema import Text, TextLine, List, Object, Dict, Bool
 
 from pyams_skin import _
@@ -150,6 +150,13 @@
                       required=False)
 
 
+class IMenuHeader(Interface):
+    """Menu header interface"""
+
+    header = TextLine(title="Menu header",
+                      required=False)
+
+
 class IMenuItem(IViewlet):
     """Menu item interface