[event] refactor admin for event bundle

This commit is contained in:
nobohan
2022-07-06 13:36:20 +02:00
parent 389f014d36
commit 36e35f2e8f
19 changed files with 118 additions and 89 deletions

View File

@@ -0,0 +1,13 @@
{% extends "@ChillMain/Admin/layoutWithVerticalMenu.html.twig" %}
{% block vertical_menu_content %}
{{ chill_menu('admin_event', {
'layout': '@ChillMain/Admin/menu_admin_section.html.twig',
}) }}
{% endblock %}
{% block layout_wvm_content %}
{% block admin_content %}<!-- block content empty -->
<h1>{{ 'Events configuration' |trans }}</h1>
{% endblock %}
{% endblock %}

View File

@@ -1,31 +0,0 @@
{#
* Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
<info@champs-libres.coop> / <http://www.champs-libres.coop>
*
* 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 <http://www.gnu.org/licenses/>.
#}
{% extends "@ChillMain/Admin/layoutWithVerticalMenu.html.twig" %}
{% block vertical_menu_content %}
{{ chill_menu('admin_events', {
'layout': '@ChillEvent/Admin/menu.html.twig',
}) }}
{% endblock %}
{% block layout_wvm_content %}
{% block admin_content %}<!-- block content empty -->
<h1>{{ 'Events configuration' |trans }}</h1>
{% endblock %}
{% endblock %}

View File

@@ -1,21 +1,3 @@
{#
* Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
<info@champs-libres.coop> / <http://www.champs-libres.coop>
*
* 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 <http://www.gnu.org/licenses/>.
#}
{% extends "@ChillMain/Menu/verticalMenu.html.twig" %}
{% block v_menu_title %}{{ 'Events configuration menu'|trans }}{% endblock %}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}
<h1>{{ 'Role edit'|trans }}</h1>

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}

View File

@@ -1,4 +1,4 @@
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% extends "ChillEventBundle:Admin:index.html.twig" %}
{% block admin_content -%}