From 1e082677de9c26d55ff7af2d4bc0cd407c1a0b36 Mon Sep 17 00:00:00 2001 From: Tchama Date: Tue, 22 Jan 2019 12:05:11 +0100 Subject: [PATCH] return values of return values cases --- Resources/translations/messages.fr.yml | 1 + Resources/views/Event/show.html.twig | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Resources/translations/messages.fr.yml b/Resources/translations/messages.fr.yml index ed5b31596..6fb1545ba 100644 --- a/Resources/translations/messages.fr.yml +++ b/Resources/translations/messages.fr.yml @@ -16,6 +16,7 @@ Moderator: Animateur #CRUD event Details of an event: Détails d'un événement +Back to details of an event: Retour aux détails d'un événement New event: Nouvel événement Back to the most recent events: Retour aux derniers événements 'Back to %person% events': Retour aux événements de %person% diff --git a/Resources/views/Event/show.html.twig b/Resources/views/Event/show.html.twig index 451c52e4e..a2b0cc130 100644 --- a/Resources/views/Event/show.html.twig +++ b/Resources/views/Event/show.html.twig @@ -42,13 +42,22 @@
  • {{ returnLabel }}
  • +
  • + {{ 'Edit'|trans }} + +
  • + {% else %} +
  • + + {{ 'Edit'|trans }} + +
  • {% endif %} -
  • - - {{ 'Edit'|trans }} - -
  • {{ 'Participations'|trans }}