mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
Add Chill context for event admins pages
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Role edit</h1>
|
||||
{% block admin_content -%}
|
||||
|
||||
<h1>{{ 'Role edit'|trans }}</h1>
|
||||
|
||||
{{ form(edit_form) }}
|
||||
|
||||
|
@@ -1,13 +1,15 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Role list</h1>
|
||||
{% block admin_content -%}
|
||||
|
||||
<h1>{{ 'Role list'|trans }}</h1>
|
||||
|
||||
<table class="records_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Active</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
@@ -17,6 +19,7 @@
|
||||
<tr>
|
||||
<td><a href="{{ path('chill_event_admin_role_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
|
||||
<td>{{ entity.name|localize_translatable_string }}</td>
|
||||
<td>{{ entity.type.name|localize_translatable_string }}</td>
|
||||
<td>{{ entity.active }}</td>
|
||||
<td>
|
||||
<ul>
|
||||
|
@@ -1,7 +1,8 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Role creation</h1>
|
||||
{% block admin_content -%}
|
||||
|
||||
<h1>{{ 'Role creation'|trans }}</h1>
|
||||
|
||||
{{ form(form) }}
|
||||
|
||||
|
@@ -1,7 +1,8 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
{% extends "ChillEventBundle:Admin:layout.html.twig" %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>Role</h1>
|
||||
{% block admin_content -%}
|
||||
|
||||
<h1>{{ 'Role'|trans }}</h1>
|
||||
|
||||
<table class="record_properties">
|
||||
<tbody>
|
||||
|
Reference in New Issue
Block a user