Changed hint position
authorThierry Florac <thierry.florac@onf.fr>
Fri, 13 Oct 2017 08:28:34 +0200
changeset 212 696fc2a40371
parent 211 2e085515bc4f
child 213 fd2f6aaa2478
Changed hint position
src/pyams_content/component/paragraph/zmi/templates/paragraph-title-icon.pt
--- a/src/pyams_content/component/paragraph/zmi/templates/paragraph-title-icon.pt	Fri Oct 13 08:28:10 2017 +0200
+++ b/src/pyams_content/component/paragraph/zmi/templates/paragraph-title-icon.pt	Fri Oct 13 08:28:34 2017 +0200
@@ -1,10 +1,12 @@
-<div tal:attributes="class string:${view.action_class} pull-left"
+<div tal:attributes="class string:${view.action_class} pull-left;
+					 data-weight view.weight;"
 	 tal:define="count view.count" tal:condition="count">
 	<span class="count">
 		<span tal:content="count"></span>
 	</span>
 	<i tal:attributes="class string:${view.icon_class} hint opaque align-base;
 					   title view.icon_hint;"
+	   data-ams-hint-gravity="se"
 	   data-ams-hint-offset="3"
 	   i18n:attributes="title"></i>
 </div>