Update path to twig template with new syntax

This commit is contained in:
2023-07-28 12:16:50 +02:00
parent 55b8502896
commit e839b03cc9
111 changed files with 220 additions and 223 deletions

View File

@@ -117,7 +117,7 @@ class ReportController extends AbstractController
->trans('The form is not valid. The report has not been created !')
);
return $this->render('ChillReportBundle:Report:new.html.twig', [
return $this->render('@ChillReport/Report/new.html.twig', [
'entity' => $entity,
'form' => $form->createView(),
'person' => $person,
@@ -165,7 +165,7 @@ class ReportController extends AbstractController
]);
$this->eventDispatcher->dispatch($event, PrivacyEvent::PERSON_PRIVACY_EVENT);
return $this->render('ChillReportBundle:Report:edit.html.twig', [
return $this->render('@ChillReport/Report/edit.html.twig', [
'edit_form' => $editForm->createView(),
'person' => $person,
]);
@@ -246,7 +246,7 @@ class ReportController extends AbstractController
]);
$this->eventDispatcher->dispatch($event, PrivacyEvent::PERSON_PRIVACY_EVENT);
return $this->render('ChillReportBundle:Report:list.html.twig', [
return $this->render('@ChillReport/Report/list.html.twig', [
'reports' => $reports,
'person' => $person,
'paginator' => $paginator,
@@ -295,7 +295,7 @@ class ReportController extends AbstractController
$form = $this->createCreateForm($entity, $person, $cFGroup);
return $this->render('ChillReportBundle:Report:new.html.twig', [
return $this->render('@ChillReport/Report/new.html.twig', [
'entity' => $entity,
'form' => $form->createView(),
'person' => $person,
@@ -360,7 +360,7 @@ class ReportController extends AbstractController
$person = $em->getRepository(\Chill\PersonBundle\Entity\Person::class)->find($person_id);
return $this->render('ChillReportBundle:Report:select_report_type.html.twig', [
return $this->render('@ChillReport/Report/select_report_type.html.twig', [
'form' => $form->createView(),
'person' => $person,
]);
@@ -407,7 +407,7 @@ class ReportController extends AbstractController
])
->getForm();
return $this->render('ChillReportBundle:Report:select_report_type_for_export.html.twig', [
return $this->render('@ChillReport/Report/select_report_type_for_export.html.twig', [
'form' => $form->createView(),
'layout_name' => '@ChillMain/Export/layout.html.twig',
]);
@@ -469,7 +469,7 @@ class ReportController extends AbstractController
->trans('The form is not valid. The report has not been updated !')
);
return $this->render('ChillReportBundle:Report:edit.html.twig', [
return $this->render('@ChillReport/Report/edit.html.twig', [
'edit_form' => $editForm->createView(),
'person' => $report->getPerson(),
]);
@@ -506,7 +506,7 @@ class ReportController extends AbstractController
]);
$this->eventDispatcher->dispatch($event, PrivacyEvent::PERSON_PRIVACY_EVENT);
return $this->render('ChillReportBundle:Report:view.html.twig', [
return $this->render('@ChillReport/Report/view.html.twig', [
'entity' => $entity,
'person' => $person,
]);