Updated head template
authorThierry Florac <thierry.florac@onf.fr>
Mon, 12 Nov 2018 11:36:15 +0100
changeset 210 228dfc67f066
parent 209 26e95dcab6aa
child 211 79e553a3fcd4
Updated head template
src/pyams_default_theme/shared/common/portlet/templates/head.pt
--- a/src/pyams_default_theme/shared/common/portlet/templates/head.pt	Mon Nov 12 11:35:52 2018 +0100
+++ b/src/pyams_default_theme/shared/common/portlet/templates/head.pt	Mon Nov 12 11:36:15 2018 +0100
@@ -2,9 +2,11 @@
 	<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"
+	<div class="page-header"
 		 tal:condition="settings.display_header">
-		<tal:var define="header tales:i18n(context, 'header', '')">${structure:tales:html(header)}</tal:var>
+		<h1 tal:condition="settings.display_title">${i18n:context.title}</h1>
+		<div class="small">
+			<tal:var define="header tales:i18n(context, 'header', '')">${structure:tales:html(header)}</tal:var>
+		</div>
 	</div>
 </div>
\ No newline at end of file