Merge branch 'main' into Marvin
This commit is contained in:
@@ -38,7 +38,7 @@ class AdminController extends AbstractController
|
||||
{
|
||||
$token = $tokenStorage->getToken();
|
||||
$userConnect = $token?->getUser();
|
||||
return $this->render('admin/list.html.twig', [
|
||||
return $this->render('admin/index.html.twig', [
|
||||
'profile' => $userConnect,
|
||||
'controller_name' => 'AdminController',
|
||||
]);
|
||||
|
||||
@@ -17,7 +17,7 @@ class LieuController extends AbstractController
|
||||
#[Route('/lieu', name: 'app_lieu')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('lieu/list.html.twig', [
|
||||
return $this->render('lieu/index.html.twig', [
|
||||
'controller_name' => 'LieuController',
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -116,6 +116,6 @@ class PasswordResetController extends AbstractController
|
||||
return $this->redirectToRoute('app_login');
|
||||
}
|
||||
|
||||
return $this->render('password_reset/list.html.twig', ['token' => $token]);
|
||||
return $this->render('password_reset/index.html.twig', ['token' => $token]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,9 +47,7 @@
|
||||
<button type="submit">🔕</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
<form method="post" action="{{ path('sortie_view', { id: sortie.idSortie }) }}">
|
||||
<button type="submit">👁️</button>
|
||||
</form>
|
||||
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}" class="px-2">👁️</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user