mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Migrates banner, header, footer in blocks for iTopWebPage
This commit is contained in:
@@ -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 %}
|
||||
@@ -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 %}
|
||||
@@ -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 %}
|
||||
Reference in New Issue
Block a user