mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
Update path to twig template with new syntax
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block title 'Event : %label%'|trans({ '%label%' : event.name } ) %}
|
||||
|
||||
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
|
||||
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
||||
|
||||
{% block event_content -%}
|
||||
<div class="col-10">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
|
||||
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
||||
|
||||
{% if ignored_participations|length > 0 %}
|
||||
<p>{% transchoice ignored_participations|length %}The following people have been ignored because they are already participating on the event{% endtranschoice %} :</p>
|
||||
@@ -7,4 +7,4 @@
|
||||
<li>{{ person_macro.render(p.person) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% extends '@ChillEvent/layout.html.twig' %}
|
||||
|
||||
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
|
||||
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
||||
|
||||
{% block event_content -%}
|
||||
<div class="col-10">
|
||||
@@ -18,11 +18,11 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<h2 class="mt-5">{{ 'Participations'|trans }}</h2>
|
||||
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -47,7 +47,7 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('chill_event__event_show', { 'event_id' : event.id } ) }}" class="btn btn-cancel">
|
||||
@@ -58,7 +58,7 @@
|
||||
{{ form_widget(form.submit, { 'attr' : { 'class' : 'btn btn-edit' } } ) }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% extends '@ChillEvent/layout.html.twig' %}
|
||||
|
||||
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
|
||||
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
||||
|
||||
{% block event_content -%}
|
||||
<div class="col-10">
|
||||
@@ -22,7 +22,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
{{ form_start(form) }}
|
||||
{{ form_row(form.role) }}
|
||||
{{ form_row(form.status) }}
|
||||
@@ -41,7 +41,7 @@
|
||||
{{ form_widget(form.submit, { 'attr' : { 'class' : 'btn btn-edit' } } ) }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% extends '@ChillEvent/layout.html.twig' %}
|
||||
|
||||
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
|
||||
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
||||
|
||||
{% block title 'Participation creation'|trans %}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% include 'ChillEventBundle:Participation:_ignored_participations.html.twig' with ignored_participations %}
|
||||
{% include '@ChillEvent/Participation/_ignored_participations.html.twig' with ignored_participations %}
|
||||
|
||||
{{ form_start(form) }}
|
||||
<table class="table">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% extends '@ChillEvent/layout.html.twig' %}
|
||||
|
||||
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
|
||||
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
||||
|
||||
{% block title 'Participation creation'|trans %}
|
||||
|
||||
@@ -20,17 +20,17 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% include 'ChillEventBundle:Participation:_ignored_participations.html.twig' with ignored_participations %}
|
||||
|
||||
|
||||
{% include '@ChillEvent/Participation/_ignored_participations.html.twig' with ignored_participations %}
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
|
||||
{{ form_errors(form) }}
|
||||
|
||||
|
||||
{{ form_row(form.role) }}
|
||||
{{ form_row(form.status) }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="record_actions">
|
||||
<li class="cancel">
|
||||
@@ -42,7 +42,7 @@
|
||||
{{ form_widget(form.submit, { 'attr' : { 'class' : 'btn btn-create' } } ) }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
<h1>{{ 'Role edit'|trans }}</h1>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "ChillEventBundle:Admin:index.html.twig" %}
|
||||
{% extends "@ChillEvent/Admin/index.html.twig" %}
|
||||
|
||||
{% block admin_content -%}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% import 'ChillEventBundle:EventReason:macro.html.twig' as m %}
|
||||
{% import '@ChillEvent/EventReason/macro.html.twig' as m %}
|
||||
|
||||
{% if "now"|date('U') > event.date|date('U') %}
|
||||
{% set boolDate = 'past' %}
|
||||
|
Reference in New Issue
Block a user