--- a/src/pyams_skin/interfaces/viewlet.py Wed Jul 12 13:46:19 2017 +0200
+++ b/src/pyams_skin/interfaces/viewlet.py Wed Jul 12 13:47:25 2017 +0200
@@ -330,7 +330,7 @@
"""Toolbar actions menu"""
label_css_class = TextLine(title="Label icon CSS class",
- default='fa fa-fw fa-caret-down')
+ default='fa fa-plus')
css_class = TextLine(title="Button CSS class",
default='btn btn-xs btn-primary dropdown-toggle')
@@ -347,8 +347,8 @@
"""Table item actions viewlet manager"""
-class IToolbarMenuItem(IToolbarAction):
- """Toolbar actions menu item"""
+class IToolbarActionItem(IToolbarAction):
+ """Toolbar action menu item"""
css_class = TextLine(title="Menu CSS class",
default='')
@@ -358,6 +358,10 @@
default=False)
+class IToolbarMenuItem(IToolbarActionItem):
+ """Toolbar menu item"""
+
+
class IContextActions(IViewletManager, IToolbarMenu):
"""Context actions viewlet manager"""