From 1f2d79355fb78627409b255e86396e5b01c34a2f Mon Sep 17 00:00:00 2001 From: Olivier Mayer Date: Thu, 19 Feb 2015 18:29:45 +0900 Subject: [PATCH] Result number fix #4 --- lib/Alchemy/Phrasea/Controller/Prod/Query.php | 2 +- templates/web/prod/index.html.twig | 26 ++++++-------- www/skins/prod/000000/prodcolor.css | 36 ++++++++++++++----- 3 files changed, 39 insertions(+), 25 deletions(-) diff --git a/lib/Alchemy/Phrasea/Controller/Prod/Query.php b/lib/Alchemy/Phrasea/Controller/Prod/Query.php index 09ad33fb7e..1bd5833387 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/Query.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/Query.php @@ -152,7 +152,7 @@ class Query implements ControllerProviderInterface $explain .= '
' . $result->getDuration() . ' s
dans index ' . $result->getIndexes(); $explain .= ""; - $infoResult = '' . $app->trans('reponses:: %total% reponses', ['%total%' => $result->getTotal()]) . ' | ' . $app->trans('reponses:: %number% documents selectionnes', ['%number%' => '']); + $infoResult = '' .$app->trans('%total% reponses', ['%total%' => ''.$result->getTotal().'']) . '' . $app->trans('%number% documents
selectionnes', ['%number%' => '']); $json['infos'] = $infoResult; $json['navigation'] = $string; diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index c223df5c3f..ae0faf1c56 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -468,6 +468,16 @@ +
+
+ + + +
+ +