From 1cd452ca3ba66e22785abf0da61fddbbfaf223c7 Mon Sep 17 00:00:00 2001 From: Nicolas Godfraind Date: Wed, 13 Jan 2016 16:31:09 +0100 Subject: [PATCH] Forum reply update. --- Resources/translations/forum.en.yml | 1 + Resources/translations/forum.fr.yml | 1 + Resources/views/Forum/messages.html.twig | 49 ++++++++++++------------ 3 files changed, 26 insertions(+), 25 deletions(-) diff --git a/Resources/translations/forum.en.yml b/Resources/translations/forum.en.yml index 41fe2f3..ef3ef8d 100644 --- a/Resources/translations/forum.en.yml +++ b/Resources/translations/forum.en.yml @@ -57,3 +57,4 @@ reply_to: Reply to %author%: quote: Quote title_option_form_last_messages: Just display the last messages which I have contributed title_form_last_messages: Display messages +please_connect_to_answer: You need to be logged on to reply on this forum \ No newline at end of file diff --git a/Resources/translations/forum.fr.yml b/Resources/translations/forum.fr.yml index 51776aa..f787023 100644 --- a/Resources/translations/forum.fr.yml +++ b/Resources/translations/forum.fr.yml @@ -57,3 +57,4 @@ reply_to: Répondre à %author%: quote: Citer title_option_form_last_messages: Afficher seulement les conversations auxquelles j'ai participé title_form_last_messages: Apparence des messages +please_connect_to_answer: Il est nécessaire de se connecter pour participer au forum diff --git a/Resources/views/Forum/messages.html.twig b/Resources/views/Forum/messages.html.twig index 1540d12..eaf76a9 100644 --- a/Resources/views/Forum/messages.html.twig +++ b/Resources/views/Forum/messages.html.twig @@ -143,36 +143,35 @@ {{ renderPager(subject.getId(), pager, max) }} {% if canPost %} - {{ 'fast_reply'|trans({}, 'forum')}} + + {{ 'fast_reply'|trans({}, 'forum')}} + {% endif %} {% if canPost %} -