From 1acf3a468565841c491058378e98dae1d547b228 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Tue, 22 Mar 2016 14:49:19 +0100 Subject: [PATCH 1/2] Adding layout for event-vue --- Resources/views/layout.html.twig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Resources/views/layout.html.twig diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig new file mode 100644 index 000000000..cbe1b9b47 --- /dev/null +++ b/Resources/views/layout.html.twig @@ -0,0 +1,31 @@ +{# + * Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS, + / + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . +#} + +{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %} + +{% block vertical_menu_content %} + {{ chill_menu('event', { + 'layout': 'ChillMainBundle::Menu/verticalMenu.html.twig', + }) }} +{% endblock %} + +{% block layout_wvm_content %} + {% block event_content %} +

{{ 'Event Menu' |trans }}

+ {% endblock %} +{% endblock %} From 6d2bb8ca1dce3da11f2547cd5d224ad928f7d9e9 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Tue, 22 Mar 2016 15:35:21 +0100 Subject: [PATCH 2/2] Correction of the comment & H1 title --- Resources/views/layout.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig index cbe1b9b47..091092cf6 100644 --- a/Resources/views/layout.html.twig +++ b/Resources/views/layout.html.twig @@ -25,7 +25,7 @@ {% endblock %} {% block layout_wvm_content %} - {% block event_content %} -

{{ 'Event Menu' |trans }}

+ {% block event_content %}} +

{{ 'Event' |trans }}

{% endblock %} {% endblock %}