Added paragraph title
authorThierry Florac <thierry.florac@onf.fr>
Tue, 04 Dec 2018 15:12:38 +0100
changeset 273 7e42b94d188e
parent 272 857b7fee282c
child 274 39bf2d8df31d
child 277 4064779f9ab0
Added paragraph title
src/pyams_default_theme/component/association/templates/association-remote-content.pt
--- a/src/pyams_default_theme/component/association/templates/association-remote-content.pt	Tue Dec 04 12:33:23 2018 +0100
+++ b/src/pyams_default_theme/component/association/templates/association-remote-content.pt	Tue Dec 04 15:12:38 2018 +0100
@@ -1,5 +1,7 @@
 <tal:var i18n:domain="pyams_default_theme"
-		define="settings view.settings">
+		 define="settings view.settings">
+	<h2 tal:define="title i18n:context.title"
+		tal:condition="title">${title}</h2>
 	<tal:loop repeat="link view.links">
 		<tal:var define="target link.target"
 				 condition="target is not None">