Migrates banner, header, footer in blocks for iTopWebPage

This commit is contained in:
Eric
2020-11-26 15:33:49 +01:00
parent 05ed58d741
commit a759380999
11 changed files with 463 additions and 35 deletions

View File

@@ -1,3 +1,12 @@
{% if aLayouts.sBanner is not empty %}
<div id="ibo-top-banner" data-role="ibo-top-banner">{{ aLayouts.sBanner|raw }}</div>
{% endif %}
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
<div id="ibo-page-Banner" data-role="ibo-page-Banner">
{% if aLayouts.sBanner is not empty %}
{{ aLayouts.sBanner|raw }}
{% endif %}
{{ render_block(aLayouts.oBanner, {aPage: aPage}) }}
</div>
{% endapply %}

View File

@@ -1,3 +1,12 @@
{% if aLayouts.sFooter is not empty %}
<div id="ibo-page-footer" data-role="ibo-page-footer">{{ aLayouts.sFooter|raw }}</div>
{% endif %}
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
<div id="ibo-page-Footer" data-role="ibo-page-Footer">
{% if aLayouts.sFooter is not empty %}
{{ aLayouts.sFooter|raw }}
{% endif %}
{{ render_block(aLayouts.oFooter, {aPage: aPage}) }}
</div>
{% endapply %}

View File

@@ -1,3 +1,12 @@
{% if aLayouts.sHeader is not empty %}
<div id="ibo-page-header" data-role="ibo-page-header">{{ aLayouts.sHeader|raw }}</div>
{% endif %}
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
<div id="ibo-page-header" data-role="ibo-page-header">
{% if aLayouts.sHeader is not empty %}
{{ aLayouts.sHeader|raw }}
{% endif %}
{{ render_block(aLayouts.oHeader, {aPage: aPage}) }}
</div>
{% endapply %}