From: Mike Taylor Date: Wed, 4 Feb 2015 11:54:18 +0000 (+0000) Subject: Fix MKWS-374. X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=eb29a7eb85ebf181e2bbfe24740338b4c28882cc;ds=sidebyside Fix MKWS-374. Emit "No hits" instead of "Displaying: 1 to 0 of 0 (found: 0)" when no hits. --- diff --git a/src/templates/pager.handlebars b/src/templates/pager.handlebars index 0b3f953..16b29aa 100644 --- a/src/templates/pager.handlebars +++ b/src/templates/pager.handlebars @@ -14,9 +14,13 @@ pages: click - script to go to this page unless it is the current one }}
+ {{#if found}} {{mkws-translate "Displaying"}}: {{first}} {{mkws-translate "to"}} {{last}} {{mkws-translate "of"}} {{count}} ({{{mkws-translate "found"}}}: {{found}}) + {{else}} + No hits. + {{/if}}