mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
Update path to twig template with new syntax
This commit is contained in:
@@ -27,6 +27,6 @@ class AdminController extends AbstractController
|
||||
*/
|
||||
public function indexAdminAction()
|
||||
{
|
||||
return $this->render('ChillEventBundle:Admin:index.html.twig');
|
||||
return $this->render('@ChillEvent/Admin/index.html.twig');
|
||||
}
|
||||
}
|
||||
|
@@ -132,7 +132,7 @@ class EventController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Event:confirm_delete.html.twig', [
|
||||
return $this->render('@ChillEvent/Event/confirm_delete.html.twig', [
|
||||
'event_id' => $event->getId(),
|
||||
'delete_form' => $form->createView(),
|
||||
]);
|
||||
@@ -157,7 +157,7 @@ class EventController extends AbstractController
|
||||
|
||||
$editForm = $this->createEditForm($entity);
|
||||
|
||||
return $this->render('ChillEventBundle:Event:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Event/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
]);
|
||||
@@ -209,7 +209,7 @@ class EventController extends AbstractController
|
||||
|
||||
$addEventParticipationByPersonForm = $this->createAddEventParticipationByPersonForm($person);
|
||||
|
||||
return $this->render('ChillEventBundle:Event:listByPerson.html.twig', [
|
||||
return $this->render('@ChillEvent/Event/listByPerson.html.twig', [
|
||||
'participations' => $participations,
|
||||
'person' => $person,
|
||||
'paginator' => $paginator,
|
||||
@@ -255,7 +255,7 @@ class EventController extends AbstractController
|
||||
return $this->redirectToRoute('chill_event__event_show', ['event_id' => $entity->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Event:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Event/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -298,7 +298,7 @@ class EventController extends AbstractController
|
||||
])
|
||||
->getForm();
|
||||
|
||||
return $this->render('ChillEventBundle:Event:newPickCenter.html.twig', [
|
||||
return $this->render('@ChillEvent/Event/newPickCenter.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
}
|
||||
@@ -332,7 +332,7 @@ class EventController extends AbstractController
|
||||
return $exportParticipationsList['response'];
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Event:show.html.twig', [
|
||||
return $this->render('@ChillEvent/Event/show.html.twig', [
|
||||
'event' => $event,
|
||||
'form_add_participation_by_person' => $addParticipationByPersonForm->createView(),
|
||||
'form_export' => $exportParticipationsList['form']->createView(),
|
||||
@@ -366,7 +366,7 @@ class EventController extends AbstractController
|
||||
return $this->redirectToRoute('chill_event__event_edit', ['event_id' => $event_id]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Event:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Event/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
]);
|
||||
|
@@ -39,7 +39,7 @@ class EventTypeController extends AbstractController
|
||||
return $this->redirectToRoute('chill_eventtype_admin', ['id' => $entity->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:EventType:new.html.twig', [
|
||||
return $this->render('@ChillEvent/EventType/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -84,7 +84,7 @@ class EventTypeController extends AbstractController
|
||||
$editForm = $this->createEditForm($entity);
|
||||
$deleteForm = $this->createDeleteForm($id);
|
||||
|
||||
return $this->render('ChillEventBundle:EventType:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/EventType/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
@@ -100,7 +100,7 @@ class EventTypeController extends AbstractController
|
||||
|
||||
$entities = $em->getRepository(\Chill\EventBundle\Entity\EventType::class)->findAll();
|
||||
|
||||
return $this->render('ChillEventBundle:EventType:index.html.twig', [
|
||||
return $this->render('@ChillEvent/EventType/index.html.twig', [
|
||||
'entities' => $entities,
|
||||
]);
|
||||
}
|
||||
@@ -113,7 +113,7 @@ class EventTypeController extends AbstractController
|
||||
$entity = new EventType();
|
||||
$form = $this->createCreateForm($entity);
|
||||
|
||||
return $this->render('ChillEventBundle:EventType:new.html.twig', [
|
||||
return $this->render('@ChillEvent/EventType/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -134,7 +134,7 @@ class EventTypeController extends AbstractController
|
||||
|
||||
$deleteForm = $this->createDeleteForm($id);
|
||||
|
||||
return $this->render('ChillEventBundle:EventType:show.html.twig', [
|
||||
return $this->render('@ChillEvent/EventType/show.html.twig', [
|
||||
'entity' => $entity,
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
]);
|
||||
@@ -163,7 +163,7 @@ class EventTypeController extends AbstractController
|
||||
return $this->redirectToRoute('chill_eventtype_admin', ['id' => $id]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:EventType:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/EventType/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
|
@@ -197,7 +197,7 @@ class ParticipationController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/new.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -238,7 +238,7 @@ class ParticipationController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/new.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -284,7 +284,7 @@ class ParticipationController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:confirm_delete.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/confirm_delete.html.twig', [
|
||||
'event_id' => $event->getId(),
|
||||
'delete_form' => $form->createView(),
|
||||
]);
|
||||
@@ -315,7 +315,7 @@ class ParticipationController extends AbstractController
|
||||
|
||||
$form = $this->createEditForm($participation);
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -369,7 +369,7 @@ class ParticipationController extends AbstractController
|
||||
|
||||
$form = $this->createEditFormMultiple($event->getParticipations(), $event);
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit-multiple.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit-multiple.html.twig', [
|
||||
'event' => $event,
|
||||
'participations' => $event->getParticipations(),
|
||||
'form' => $form->createView(),
|
||||
@@ -452,7 +452,7 @@ class ParticipationController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
]);
|
||||
@@ -495,7 +495,7 @@ class ParticipationController extends AbstractController
|
||||
);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:edit-multiple.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/edit-multiple.html.twig', [
|
||||
'event' => $event,
|
||||
'participations' => $event->getParticipations(),
|
||||
'form' => $form->createView(),
|
||||
@@ -677,7 +677,7 @@ class ParticipationController extends AbstractController
|
||||
$form = $this->createCreateFormMultiple($newParticipations);
|
||||
|
||||
return $this->render(
|
||||
'ChillEventBundle:Participation:new-multiple.html.twig',
|
||||
'@ChillEvent/Participation/new-multiple.html.twig',
|
||||
[
|
||||
'form' => $form->createView(),
|
||||
'participations' => $newParticipations,
|
||||
@@ -690,7 +690,7 @@ class ParticipationController extends AbstractController
|
||||
$form = $this->createCreateForm($participation);
|
||||
|
||||
return $this->render(
|
||||
'ChillEventBundle:Participation:new.html.twig',
|
||||
'@ChillEvent/Participation/new.html.twig',
|
||||
[
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
@@ -719,7 +719,7 @@ class ParticipationController extends AbstractController
|
||||
|
||||
$form = $this->createCreateForm($participation, $returnPath);
|
||||
|
||||
return $this->render('ChillEventBundle:Participation:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Participation/new.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'participation' => $participation,
|
||||
'ignored_participations' => [], // this is required, see self::newMultiple
|
||||
|
@@ -39,7 +39,7 @@ class RoleController extends AbstractController
|
||||
return $this->redirectToRoute('chill_event_admin_role', ['id' => $entity->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Role:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Role/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -84,7 +84,7 @@ class RoleController extends AbstractController
|
||||
$editForm = $this->createEditForm($entity);
|
||||
$deleteForm = $this->createDeleteForm($id);
|
||||
|
||||
return $this->render('ChillEventBundle:Role:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Role/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
@@ -100,7 +100,7 @@ class RoleController extends AbstractController
|
||||
|
||||
$entities = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->findAll();
|
||||
|
||||
return $this->render('ChillEventBundle:Role:index.html.twig', [
|
||||
return $this->render('@ChillEvent/Role/index.html.twig', [
|
||||
'entities' => $entities,
|
||||
]);
|
||||
}
|
||||
@@ -113,7 +113,7 @@ class RoleController extends AbstractController
|
||||
$entity = new Role();
|
||||
$form = $this->createCreateForm($entity);
|
||||
|
||||
return $this->render('ChillEventBundle:Role:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Role/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -134,7 +134,7 @@ class RoleController extends AbstractController
|
||||
|
||||
$deleteForm = $this->createDeleteForm($id);
|
||||
|
||||
return $this->render('ChillEventBundle:Role:show.html.twig', [
|
||||
return $this->render('@ChillEvent/Role/show.html.twig', [
|
||||
'entity' => $entity,
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
]);
|
||||
@@ -163,7 +163,7 @@ class RoleController extends AbstractController
|
||||
return $this->redirectToRoute('chill_event_admin_role', ['id' => $id]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Role:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Role/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
|
@@ -39,7 +39,7 @@ class StatusController extends AbstractController
|
||||
return $this->redirectToRoute('chill_event_admin_status', ['id' => $entity->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Status:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Status/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -84,7 +84,7 @@ class StatusController extends AbstractController
|
||||
$editForm = $this->createEditForm($entity);
|
||||
$deleteForm = $this->createDeleteForm($id);
|
||||
|
||||
return $this->render('ChillEventBundle:Status:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Status/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
@@ -100,7 +100,7 @@ class StatusController extends AbstractController
|
||||
|
||||
$entities = $em->getRepository(\Chill\EventBundle\Entity\Status::class)->findAll();
|
||||
|
||||
return $this->render('ChillEventBundle:Status:index.html.twig', [
|
||||
return $this->render('@ChillEvent/Status/index.html.twig', [
|
||||
'entities' => $entities,
|
||||
]);
|
||||
}
|
||||
@@ -113,7 +113,7 @@ class StatusController extends AbstractController
|
||||
$entity = new Status();
|
||||
$form = $this->createCreateForm($entity);
|
||||
|
||||
return $this->render('ChillEventBundle:Status:new.html.twig', [
|
||||
return $this->render('@ChillEvent/Status/new.html.twig', [
|
||||
'entity' => $entity,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -134,7 +134,7 @@ class StatusController extends AbstractController
|
||||
|
||||
$deleteForm = $this->createDeleteForm($id);
|
||||
|
||||
return $this->render('ChillEventBundle:Status:show.html.twig', [
|
||||
return $this->render('@ChillEvent/Status/show.html.twig', [
|
||||
'entity' => $entity,
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
]);
|
||||
@@ -163,7 +163,7 @@ class StatusController extends AbstractController
|
||||
return $this->redirectToRoute('chill_event_admin_status', ['id' => $id]);
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Status:edit.html.twig', [
|
||||
return $this->render('@ChillEvent/Status/edit.html.twig', [
|
||||
'entity' => $entity,
|
||||
'edit_form' => $editForm->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
|
@@ -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' %}
|
||||
|
@@ -116,7 +116,7 @@ class TimelineEventProvider implements TimelineProviderInterface
|
||||
$this->checkContext($context);
|
||||
|
||||
return [
|
||||
'template' => 'ChillEventBundle:Timeline:event_person_context.html.twig',
|
||||
'template' => '@ChillEvent/Timeline/event_person_context.html.twig',
|
||||
'template_data' => [
|
||||
'event' => $entity,
|
||||
'person' => $args['person'],
|
||||
|
Reference in New Issue
Block a user