Updated content's "head" portlet
authorThierry Florac <thierry.florac@onf.fr>
Mon, 29 Oct 2018 16:48:26 +0100
changeset 194 f8d460d1e31c
parent 193 66850657fca6
child 195 e68ab3d8ca76
Updated content's "head" portlet
src/pyams_default_theme/shared/common/portlet/templates/head.pt
--- a/src/pyams_default_theme/shared/common/portlet/templates/head.pt	Wed Oct 24 16:37:35 2018 +0200
+++ b/src/pyams_default_theme/shared/common/portlet/templates/head.pt	Mon Oct 29 16:48:26 2018 +0100
@@ -0,0 +1,10 @@
+<div tal:define="settings view.settings" i18n:domain="pyams_default_theme">
+	<tal:if condition="settings.display_breadcrumbs">
+		${structure:provider:pyams.breadcrumbs}
+	</tal:if>
+	<h1 tal:condition="settings.display_title">${i18n:context.title}</h1>
+	<div class="header"
+		 tal:condition="settings.display_header">
+		<tal:var define="header tales:i18n(context, 'header', '')">${structure:tales:html(header)}</tal:var>
+	</div>
+</div>
\ No newline at end of file