X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftemplates%2Fpager.handlebars;h=16b29aa8323c0e94dd43fa7ca5c485c438fb5ac6;hb=eb29a7eb85ebf181e2bbfe24740338b4c28882cc;hp=55768e84e927a3a06afabb14f7fe502db775ae0a;hpb=36721667730b5d8aae5b6df304f69d96f2c1d21d;p=mkws-moved-to-github.git diff --git a/src/templates/pager.handlebars b/src/templates/pager.handlebars index 55768e8..16b29aa 100644 --- a/src/templates/pager.handlebars +++ b/src/templates/pager.handlebars @@ -13,17 +13,21 @@ pages: number - page number click - script to go to this page unless it is the current one }} -
- {{mkws-translate "Displaying"}}: - {{first}} {{mkws-translate "to"}} {{last}} - {{mkws-translate "of"}} {{count}} ({{{mkws-translate "found"}}}: {{found}}) +
+ {{#if found}} + {{mkws-translate "Displaying"}}: + {{first}} {{mkws-translate "to"}} {{last}} + {{mkws-translate "of"}} {{count}} ({{{mkws-translate "found"}}}: {{found}}) + {{else}} + No hits. + {{/if}}
-
+
{{#if prevClick}} - << {{{mkws-translate "Prev"}}} | + {{{mkws-translate "Prev"}}} | {{else}} - << {{{mkws-translate "Prev"}}} | + {{{mkws-translate "Prev"}}} | {{/if}} {{#if morePrev}}...{{/if}} @@ -39,8 +43,8 @@ pages: {{#if moreNext}}...{{/if}} {{#if nextClick}} - | {{{mkws-translate "Next"}}} >> + | {{{mkws-translate "Next"}}} {{else}} - | {{{mkws-translate "Next"}}} >> + | {{{mkws-translate "Next"}}} {{/if}}