Added glossary renderer to associations
authorThierry Florac <thierry.florac@onf.fr>
Mon, 07 Jan 2019 10:05:16 +0100
changeset 341 5ee921796766
parent 340 db1a13f47603
child 342 7ffaedd8d634
Added glossary renderer to associations
src/pyams_default_theme/component/association/templates/association-viewlet.pt
--- a/src/pyams_default_theme/component/association/templates/association-viewlet.pt	Mon Jan 07 10:00:20 2019 +0100
+++ b/src/pyams_default_theme/component/association/templates/association-viewlet.pt	Mon Jan 07 10:05:16 2019 +0100
@@ -6,7 +6,7 @@
 						 data i18n:item.data">
 			<p>
 				<tal:if condition="description">
-					${structure:tales:html(description)}
+					${structure:tales:html(description, 'text;glossary')}
 					<br />
 				</tal:if>
 				<a tal:define="href_data tales:absolute_url(data);"
@@ -21,7 +21,7 @@
 						 description i18n:link.description;">
 			<p>
 				<tal:if condition="description">
-					${structure:tales:html(description)}
+					${structure:tales:html(description, 'text;glossary')}
 					<br />
 				</tal:if
 				<a tal:define="href link.get_url(request);