--- a/src/pyams_default_theme/features/header/skin/templates/simple-header.pt Thu Jul 05 15:10:47 2018 +0200
+++ b/src/pyams_default_theme/features/header/skin/templates/simple-header.pt Mon Jul 09 11:44:47 2018 +0200
@@ -1,21 +1,6 @@
<div class="header header-simple"
tal:define="settings view.settings" i18n:domain="pyams_default_theme">
- <div class="banner">
- <tal:if define="banner settings.banner"
- condition="banner">
- <img class="banner"
- tal:define="src extension:absolute_url(banner)"
- tal:attributes="src string:${src}?_=${extension:timestamp(banner)}" />
- </tal:if>
- <tal:if define="logo settings.logo"
- condition="logo">
- <a href="/" title="Back home" i18n:attributes="title">
- <img class="logo"
- tal:define="src extension:absolute_url(settings.logo, '++thumb++200x200')"
- tal:attributes="src string:${src}?_=${extension:timestamp(logo)}" />
- </a>
- </tal:if>
- </div>
+ <tal:var replace="structure provider:pyams.banner" />
<ul class="nav nav-tabs" role="tablist">
<tal:loop repeat="link settings.tabs.get_visible_items()">
<li role="presentation"