Changed menu label
authorThierry Florac <thierry.florac@onf.fr>
Fri, 02 Mar 2018 11:24:02 +0100
changeset 417 f09842eb4ada
parent 416 c848b7ceefb7
child 418 81e4e9b9cde2
Changed menu label
src/pyams_content/shared/imagemap/zmi/paragraph.py
src/pyams_content/shared/logo/zmi/paragraph.py
--- a/src/pyams_content/shared/imagemap/zmi/paragraph.py	Fri Mar 02 11:22:56 2018 +0100
+++ b/src/pyams_content/shared/imagemap/zmi/paragraph.py	Fri Mar 02 11:24:02 2018 +0100
@@ -47,11 +47,11 @@
 
 
 @viewlet_config(name='add-imagemap-paragraph.menu', context=IParagraphContainerTarget, view=IParagraphContainerView,
-                layer=IPyAMSLayer, manager=IToolbarAddingMenu, weight=610)
+                layer=IPyAMSLayer, manager=IToolbarAddingMenu, weight=520)
 class ImagemapParagraphAddMenu(BaseParagraphAddMenu):
     """Image map paragraph add menu"""
 
-    label = _("Add image map...")
+    label = _("Image map...")
     label_css_class = 'fa fa-fw fa-location-arrow'
     url = 'add-imagemap-paragraph.html'
     paragraph_type = IMAGEMAP_PARAGRAPH_TYPE
--- a/src/pyams_content/shared/logo/zmi/paragraph.py	Fri Mar 02 11:22:56 2018 +0100
+++ b/src/pyams_content/shared/logo/zmi/paragraph.py	Fri Mar 02 11:24:02 2018 +0100
@@ -46,11 +46,11 @@
 
 
 @viewlet_config(name='add-logos-paragraph.menu', context=IParagraphContainerTarget, view=IParagraphContainerView,
-                layer=IPyAMSLayer, manager=IToolbarAddingMenu, weight=600)
+                layer=IPyAMSLayer, manager=IToolbarAddingMenu, weight=530)
 class LogosParagraphAddMenu(BaseParagraphAddMenu):
     """Logos paragraph add menu"""
 
-    label = _("Add logos...")
+    label = _("Logos...")
     label_css_class = 'fa fa-fw fa-th-large'
     url = 'add-logos-paragraph.html'
     paragraph_type = LOGOS_PARAGRAPH_TYPE