Updated template
authorThierry Florac <thierry.florac@onf.fr>
Mon, 18 Jun 2018 09:17:40 +0200
changeset 706 010346ccded0
parent 705 6490cb72a126
child 707 eea3be9e9a93
Updated template
src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt
--- a/src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt	Sun Jun 17 16:41:24 2018 +0200
+++ b/src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt	Mon Jun 18 09:17:40 2018 +0200
@@ -1,8 +1,9 @@
 <div tal:define="settings view.settings" i18n:domain="pyams_content">
 	<strong tal:define="title i18n:settings.title"
 			tal:condition="title">
-		<tal:var content="title"/> :<br /></strong>
-	<div tal:content="structure html:settings.teaser">Teaser</div>
+		<tal:var content="title"/><br /></strong>
+	<div tal:define="teaser i18n:settings.teaser"
+		 tal:content="structure extension:html(teaser)">Teaser</div>
 	<ul>
 		<li tal:repeat="number settings.keynumbers.get_visible_items()">
 			<span tal:define="label i18n:number.label"
@@ -17,4 +18,3 @@
 		</li>
 	</ul>
 </div>
-