This commit is contained in:
Olivier PARPAILLON
2024-11-26 16:30:10 +01:00
parent 346625b223
commit 266a338b24
4 changed files with 4 additions and 4 deletions

View File

@@ -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',
]);

View File

@@ -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',
]);
}

View File

@@ -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]);
}
}

View File

@@ -47,7 +47,7 @@
<button type="submit">🔕</button>
</form>
{% endif %}
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}">👁️</a>
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}" class="px-2">👁️</a>
</td>
</tr>
{% else %}