From 352920dbfa9a66e49b6e2ea3ea031a9099443833 Mon Sep 17 00:00:00 2001 From: markusfluer Date: Fri, 15 Dec 2017 12:13:05 +0100 Subject: [PATCH] Fixed issue #12276: Strange display of "There are x questions in this survey" --- themes/survey/no_bootstrap/views/subviews/welcome.twig | 2 +- themes/survey/vanilla/views/subviews/messages/welcome.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/survey/no_bootstrap/views/subviews/welcome.twig b/themes/survey/no_bootstrap/views/subviews/welcome.twig index 08f888bc57f..72f9aebfac4 100644 --- a/themes/survey/no_bootstrap/views/subviews/welcome.twig +++ b/themes/survey/no_bootstrap/views/subviews/welcome.twig @@ -50,7 +50,7 @@ {% elseif aSurveyInfo.iTotalquestions == 1 %} {{ "There is 1 question in this survey" | t }} {% else %} - {{ "There are " ~ aSurveyInfo.iTotalquestions ~ " questions in this survey." | t}} + {{ "There are" | t}} {{aSurveyInfo.iTotalquestions}} {{"questions in this survey." | t}} {% endif %} {% endif %} diff --git a/themes/survey/vanilla/views/subviews/messages/welcome.twig b/themes/survey/vanilla/views/subviews/messages/welcome.twig index 83c09dc6232..00a04aa9238 100644 --- a/themes/survey/vanilla/views/subviews/messages/welcome.twig +++ b/themes/survey/vanilla/views/subviews/messages/welcome.twig @@ -50,7 +50,7 @@ {% elseif aSurveyInfo.iTotalquestions == 1 %} {{ "There is 1 question in this survey" | t }} {% else %} - {{ "There are " ~ aSurveyInfo.iTotalquestions ~ " questions in this survey." | t}} + {{ "There are" | t}} {{aSurveyInfo.iTotalquestions}} {{"questions in this survey." | t}} {% endif %} {% endif %}