From 744dbd5b6ff0ec49a9555ec9f15218b2db77a3d2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 14 Mar 2016 16:40:59 +0000 Subject: [PATCH] [PASSED QA] Bug 13238: Specific string if no results Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 20e505b..2a5feb9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -52,7 +52,9 @@ $(document).ready(function() { [% INCLUDE 'acquisitions-toolbar.inc' %] [% UNLESS ( count == 1 ) %] - [% IF ( supplier.length < 1 ) %] + [% UNLESS count %] +

Your search returned no results.

+ [% ELSIF ( supplier.length < 1 ) %]

Vendor search: [% count %] results found

[% ELSE %]

Vendor search: [% count %] results found for '[% supplier %]'

-- 1.9.1