--- a/src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-horizontal-tabs.pt Fri Jan 04 17:16:51 2019 +0100
+++ b/src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-horizontal-tabs.pt Mon Jan 07 10:00:20 2019 +0100
@@ -1,6 +1,7 @@
<div class="panels" i18n:domain="pyams_default_theme"
- tal:define="settings view.settings">
- <h2>${i18n:settings.title}</h2>
+ tal:define="settings view.settings;
+ title i18n:settings.title;">
+ <h2 tal:condition="title">${title}</h2>
<ul class="nav nav-tabs" role="tablist">
<li role="presentation"
tal:repeat="link settings.links.get_visible_items()"
--- a/src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-horizontal.pt Fri Jan 04 17:16:51 2019 +0100
+++ b/src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-horizontal.pt Mon Jan 07 10:00:20 2019 +0100
@@ -1,8 +1,9 @@
<div class="panels" i18n:domain="pyams_default_theme"
- tal:define="settings view.settings">
- <h2>${i18n:settings.title}</h2>
+ tal:define="settings view.settings;
+ title i18n:settings.title;">
+ <h2 tal:condition="title">${title}</h2>
<div tal:repeat="link settings.links.get_visible_items()"
- class="col-md-3 col-sm-4">
+ class="panel col-md-3 col-sm-4">
<tal:var define="illustration tales:pyams_illustration(link);
img_data i18n:illustration.data;
alt i18n:illustration.alt_title;
--- a/src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-panels.pt Fri Jan 04 17:16:51 2019 +0100
+++ b/src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-panels.pt Mon Jan 07 10:00:20 2019 +0100
@@ -1,8 +1,9 @@
<div class="panels" i18n:domain="pyams_default_theme"
- tal:define="settings view.settings">
- <h2>${i18n:settings.title}</h2>
+ tal:define="settings view.settings;
+ title i18n:settings.title;">
+ <h2 tal:condition="title">${title}</h2>
<div tal:repeat="link settings.links.get_visible_items()"
- class="col-sm-4">
+ class="panel col-sm-4">
<tal:var define="illustration tales:pyams_illustration(link);
img_data i18n:illustration.data;
alt i18n:illustration.alt_title;