Added glossary to HTML renderers
authorThierry Florac <tflorac@ulthar.net>
Fri, 21 Dec 2018 16:45:53 +0100
changeset 301 93875f62e559
parent 300 f20595749ba6
child 302 85fd0b442e2a
Added glossary to HTML renderers
src/pyams_default_theme/component/paragraph/templates/html-default.pt
--- a/src/pyams_default_theme/component/paragraph/templates/html-default.pt	Fri Dec 21 16:45:31 2018 +0100
+++ b/src/pyams_default_theme/component/paragraph/templates/html-default.pt	Fri Dec 21 16:45:53 2018 +0100
@@ -4,7 +4,7 @@
 	<tal:var case="'before-title'">${structure:renderer.render()}</tal:var>
 	<h2 tal:condition="view.title and (position != 'before-title')">${view.title}</h2>
 	<tal:var case="'before-body'">${structure:renderer.render()}</tal:var>
-	<div>${structure:tales:html(view.body, 'oid_to_href')}</div>
+	<div>${structure:tales:html(view.body, 'oid_to_href;glossary')}</div>
 	<tal:var case="'after-body'">${structure:renderer.render()}</tal:var>
 	<div class="clearfix"></div>
 	${structure:provider:pyams.associations}