--- a/src/pyams_default_theme/shared/site/portlet/templates/site-panels-vertical.pt Mon Jan 07 10:10:06 2019 +0100
+++ b/src/pyams_default_theme/shared/site/portlet/templates/site-panels-vertical.pt Mon Jan 07 10:10:44 2019 +0100
@@ -1,9 +1,10 @@
<div class="panels" i18n:domain="pyams_default_theme"
tal:define="settings view.settings;
- button_title i18n:settings.button_title;">
- <h2 tal:condition="settings.title">${i18n:settings.title}</h2>
+ button_title i18n:settings.button_title;
+ title i18n:settings.title;">
+ <h2 tal:condition="title">${title}</h2>
<div tal:repeat="item view.visible_items"
- class="col-md-3 col-sm-4">
+ class="panel col-md-3 col-sm-4">
<tal:var define="target tales:relative_url(item.context)">
<div tal:define="illustration tales:pyams_illustration(item.context)"
tal:condition="illustration"
--- a/src/pyams_default_theme/shared/site/portlet/templates/site-panels.pt Mon Jan 07 10:10:06 2019 +0100
+++ b/src/pyams_default_theme/shared/site/portlet/templates/site-panels.pt Mon Jan 07 10:10:44 2019 +0100
@@ -1,9 +1,10 @@
<div class="panels" i18n:domain="pyams_default_theme"
tal:define="settings view.settings;
- button_title i18n:settings.button_title;">
- <h2 tal:condition="settings.title">${i18n:settings.title}</h2>
+ button_title i18n:settings.button_title;
+ title i18n:settings.title;">
+ <h2 tal:condition="title">${title}</h2>
<div tal:repeat="item view.visible_items"
- class="col-sm-4">
+ class="panel col-sm-4">
<tal:var define="target tales:relative_url(item.context)">
<div tal:define="illustration tales:pyams_illustration(item.context)"
tal:condition="illustration"
--- a/src/pyams_default_theme/shared/site/portlet/templates/site-summary.pt Mon Jan 07 10:10:06 2019 +0100
+++ b/src/pyams_default_theme/shared/site/portlet/templates/site-summary.pt Mon Jan 07 10:10:44 2019 +0100
@@ -1,7 +1,8 @@
<div i18n:domain="pyams_default_theme"
tal:define="settings view.settings;
- button_title i18n:settings.button_title;">
- <h2 tal:condition="settings.title">${i18n:settings.title}</h2>
+ button_title i18n:settings.button_title;
+ title i18n:settings.title;">
+ <h2 tal:condition="title">${title}</h2>
<div class="summary">
<div tal:repeat="item view.visible_items">
<tal:var define="target tales:relative_url(item.context)">