Updated icon class
authorThierry Florac <thierry.florac@onf.fr>
Wed, 06 Jun 2018 11:59:16 +0200
changeset 587 978dc30214ce
parent 586 28445044f6e3
child 588 fafb10af74b3
Updated icon class
src/pyams_content/component/paragraph/keynumber.py
src/pyams_content/component/paragraph/zmi/keynumber.py
--- a/src/pyams_content/component/paragraph/keynumber.py	Wed Jun 06 11:44:46 2018 +0200
+++ b/src/pyams_content/component/paragraph/keynumber.py	Wed Jun 06 11:59:16 2018 +0200
@@ -201,7 +201,7 @@
 class KeyNumberParagraph(BaseParagraph):
     """Key numbers paragraph"""
 
-    icon_class = 'fa-list-ol'
+    icon_class = 'fa-dashboard'
     icon_hint = KEYNUMBER_PARAGRAPH_NAME
 
     renderer = FieldProperty(IKeyNumberParagraph['renderer'])
--- a/src/pyams_content/component/paragraph/zmi/keynumber.py	Wed Jun 06 11:44:46 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/keynumber.py	Wed Jun 06 11:59:16 2018 +0200
@@ -74,7 +74,7 @@
     """Key number paragraph add menu"""
     
     label = _("Key numbers...")
-    label_css_class = 'fa fa-fw fa-list-ol'
+    label_css_class = 'fa fa-fw fa-dashboard'
     url = 'add-keynumber-paragraph.html'
     paragraph_type = KEYNUMBER_PARAGRAPH_TYPE
     
@@ -85,7 +85,7 @@
     """Key number paragraph add form"""
     
     legend = _("Add new key number paragraph")
-    icon_css_class = 'fa fa-fw fa-list-ol'
+    icon_css_class = 'fa fa-fw fa-dashboard'
     
     fields = field.Fields(IKeyNumberParagraph).select('title', 'renderer')
     ajax_handler = 'add-keynumber-paragraph.json'
@@ -117,7 +117,7 @@
         return II18n(content).query_attribute('title', request=self.request)
 
     legend = _("Edit key number paragraph properties")
-    icon_css_class = 'fa fa-fw fa-list-ol'
+    icon_css_class = 'fa fa-fw fa-dashboard'
 
     fields = field.Fields(IKeyNumberParagraph).select('title', 'renderer')
     fields['renderer'].widgetFactory = RendererFieldWidget
@@ -306,7 +306,7 @@
     """Key number add form"""
 
     legend = _("Add new keynumber")
-    icon_css_class = 'fa fa-fw fa-list-ol'
+    icon_css_class = 'fa fa-fw fa-dashboard'
 
     fields = field.Fields(IKeyNumber).omit('__parent__', '__name__', 'visible')
     ajax_handler = 'add-keynumber.json'
@@ -339,7 +339,7 @@
     prefix = 'keynumber_properties.'
 
     legend = _("Edit keynumber properties")
-    icon_css_class = 'fa fa-fw fa-list-ol'
+    icon_css_class = 'fa fa-fw fa-dashboard'
 
     fields = field.Fields(IKeyNumber).omit('__parent__', '__name__', 'visible')
     ajax_handler = 'properties.json'