Add Chill context for event admins pages

This commit is contained in:
2019-09-26 20:24:40 +02:00
parent 3274ddb496
commit 7ac7def366
20 changed files with 195 additions and 42 deletions

View File

@@ -1,7 +1,8 @@
{% extends '::base.html.twig' %}
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% block body -%}
<h1>EventType edit</h1>
{% block admin_content -%}
<h1>{{ 'EventType edit'|trans }}</h1>
{{ form(edit_form) }}

View File

@@ -1,7 +1,8 @@
{% extends '::base.html.twig' %}
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% block body -%}
<h1>EventType list</h1>
{% block admin_content -%}
<h1>{{ 'EventType list'|trans }}</h1>
<table class="records_list">
<thead>
@@ -40,4 +41,4 @@
</a>
</li>
</ul>
{% endblock %}
{% endblock %}

View File

@@ -1,7 +1,8 @@
{% extends '::base.html.twig' %}
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% block body -%}
<h1>EventType creation</h1>
{% block admin_content -%}
<h1>{{ 'EventType creation'|trans }}</h1>
{{ form(form) }}

View File

@@ -1,7 +1,8 @@
{% extends '::base.html.twig' %}
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
{% block body -%}
<h1>EventType</h1>
{% block admin_content -%}
<h1>{{ 'EventType'|trans }}</h1>
<table class="record_properties">
<tbody>