Add blocks to allow override

This commit is contained in:
Nicolas Le Goff
2015-06-30 13:52:21 +02:00
parent 041f017fd7
commit 8ba08d12ce
2 changed files with 36 additions and 32 deletions

View File

@@ -185,6 +185,7 @@
<div id="idFrameC" class="PNB" style="right:auto;width:{{ w1 ~ '%' }}">
<div class="PNB wrapper">
<div class="tabs ui-tabs">
{% block tabs_panel %}
<div id="retractableButton"></div>
{% include 'prod/tab_headers.html.twig' %}
<div id="baskets" class="PNB">
@@ -198,6 +199,7 @@
</div>
{% include 'prod/tab_thesaurus.html.twig' with {has_access_to_module: app['acl'].get(app['authentication'].getUser()).has_access_to_module('thesaurus')} %}
{% endif %}
{% endblock %}
</div>
</div>
<div id="basket_menu" class="context-menu context-menu-theme-vista" style="display:none;">

View File

@@ -1,5 +1,6 @@
{% block tab_headers %}
{% block tab_headers_wrapper %}
<ul class="icon-menu ui-tabs-nav ui-helper-reset">
{% block tab_headers %}
{% if GV_thesaurus %}
<li class="proposals_WZ">
<a href="#proposals" class="WZtabs">
@@ -20,5 +21,6 @@
<div id="basket_menu_trigger">&#9660;</div>
</a>
</li>
{% endblock %}
</ul>
{% endblock %}