Changed internal link icons class
authorThierry Florac <thierry.florac@onf.fr>
Fri, 29 Sep 2017 14:15:41 +0200
changeset 186 dc1201385a36
parent 185 ccf447563b12
child 187 a94f92bb4839
Changed internal link icons class
src/pyams_content/component/links/__init__.py
src/pyams_content/component/links/zmi/__init__.py
--- a/src/pyams_content/component/links/__init__.py	Fri Sep 29 14:08:08 2017 +0200
+++ b/src/pyams_content/component/links/__init__.py	Fri Sep 29 14:15:41 2017 +0200
@@ -82,7 +82,7 @@
 class InternalLink(BaseLink):
     """Internal link persistent class"""
 
-    icon_class = 'fa-link'
+    icon_class = 'fa-external-link-square fa-rotate-90'
     icon_hint = _("Internal link")
 
     reference = FieldProperty(IInternalLink['reference'])
--- a/src/pyams_content/component/links/zmi/__init__.py	Fri Sep 29 14:08:08 2017 +0200
+++ b/src/pyams_content/component/links/zmi/__init__.py	Fri Sep 29 14:15:41 2017 +0200
@@ -49,7 +49,7 @@
     """Internal link add menu"""
 
     label = _("Add internal link")
-    label_css_class = 'fa fa-fw fa-link'
+    label_css_class = 'fa fa-fw fa-external-link-square fa-rotate-90'
 
     url = 'add-internal-link.html'
     modal_target = True
@@ -61,7 +61,7 @@
     """Internal link add form"""
 
     legend = _("Add new internal link")
-    icon_css_class = 'fa fa-fw fa-link'
+    icon_css_class = 'fa fa-fw fa-external-link-square fa-rotate-90'
 
     fields = field.Fields(IInternalLink).select('reference', 'title', 'description')
     ajax_handler = 'add-internal-link.json'
@@ -90,7 +90,7 @@
     """Internal link properties edit form"""
 
     legend = _("Edit internal link properties")
-    icon_css_class = 'fa fa-fw fa-link'
+    icon_css_class = 'fa fa-fw fa-external-link-square fa-rotate-90'
 
     fields = field.Fields(IInternalLink).select('reference', 'title', 'description')
     ajax_handler = 'properties.json'