From 47ea602b471769b2e1375fab08c3809a1ab3c361 Mon Sep 17 00:00:00 2001 From: Antoine Jourdain Date: Sat, 11 Nov 2023 17:54:13 +0100 Subject: [PATCH] Affichage role et extra time --- Project/php/templates/myAccountView.html | 2 +- Project/php/templates/userContainer.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project/php/templates/myAccountView.html b/Project/php/templates/myAccountView.html index 1c15f8a..06b5edd 100644 --- a/Project/php/templates/myAccountView.html +++ b/Project/php/templates/myAccountView.html @@ -49,7 +49,7 @@ Email: {{user.email}} Group : {{user.group}} - Extra Time : {{user.extraTime}} + Extra Time : {{user.extraTime? 'yes' : 'no'}}
diff --git a/Project/php/templates/userContainer.twig b/Project/php/templates/userContainer.twig index ce38ddd..0e20492 100644 --- a/Project/php/templates/userContainer.twig +++ b/Project/php/templates/userContainer.twig @@ -18,8 +18,8 @@ {{row.surname}} {{row.email}} {{row.group}} - {{row.role}} - {{row.extraTime}} + {{row.roles|join(', ')}} + {{row.extraTime? 'yes' : 'no' }} {% if action is defined %}