From 8ba08d12ce13fe16bf6008ccb0adb7c8040f7460 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 30 Jun 2015 13:52:21 +0200 Subject: [PATCH] Add blocks to allow override --- templates/web/prod/index.html.twig | 28 +++++++++-------- templates/web/prod/tab_headers.html.twig | 40 +++++++++++++----------- 2 files changed, 36 insertions(+), 32 deletions(-) diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index 6f7a9eae38..fa27ed0abd 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -185,19 +185,21 @@
-
- {% include 'prod/tab_headers.html.twig' %} -
- {% import 'prod/WorkZone/Macros.html.twig' as WorkZoneMacros %} - {{WorkZoneMacros.make_bloc(app, WorkZone)}} -
- {% if GV_thesaurus %} -
- -
- {% include 'prod/tab_thesaurus.html.twig' with {has_access_to_module: app['acl'].get(app['authentication'].getUser()).has_access_to_module('thesaurus')} %} - {% endif %} + {% block tabs_panel %} +
+ {% include 'prod/tab_headers.html.twig' %} +
+ {% import 'prod/WorkZone/Macros.html.twig' as WorkZoneMacros %} + {{WorkZoneMacros.make_bloc(app, WorkZone)}} +
+ {% if GV_thesaurus %} +
+ +
+ {% include 'prod/tab_thesaurus.html.twig' with {has_access_to_module: app['acl'].get(app['authentication'].getUser()).has_access_to_module('thesaurus')} %} + {% endif %} + {% endblock %}