src/pyams_content/component/paragraph/zmi/templates/paragraph-title-icon.pt
changeset 22 c270ea8f041e
child 140 67bad9f880ee
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/paragraph/zmi/templates/paragraph-title-icon.pt	Thu Apr 21 18:11:18 2016 +0200
@@ -0,0 +1,14 @@
+<div tal:attributes="class string:${view.action_class} pull-left">
+	<a class="hint"
+	   tal:attributes="title view.icon_hint;
+					   href extension:absolute_url(context, view.url);
+					   data-toggle 'modal' if view.modal_target else None;"
+	   data-ams-stop-propagation="true" data-ams-hint-gravity="s" data-ams-hint-offset="2">
+		<i tal:attributes="class view.icon_class"></i>
+	</a>
+	<span class="count">
+		<tal:if define="count view.count" condition="count">
+			(<span tal:content="count"></span>)
+		</tal:if>
+	</span>
+</div>