Fix MKWS-374.
[mkws-moved-to-github.git] / src / templates / pager.handlebars
index 61768ed..16b29aa 100644 (file)
@@ -14,9 +14,13 @@ pages:
   click - script to go to this page unless it is the current one
 }}
 <div class="mkws-pager-desc">
-  {{mkws-translate "Displaying"}}:
-  {{first}} {{mkws-translate "to"}} {{last}}
-  {{mkws-translate "of"}} {{count}} ({{{mkws-translate "found"}}}: {{found}})
+ {{#if found}}
+  <span>{{mkws-translate "Displaying"}}</span>:
+  {{first}} <span>{{mkws-translate "to"}}</span> {{last}}
+  <span>{{mkws-translate "of"}}</span> {{count}} (<span>{{{mkws-translate "found"}}}</span>: {{found}})
+ {{else}}
+  No hits.
+ {{/if}}
 </div>
 
 <div class="mkws-pager-list">