Fix MKWS-374.
[mkws-moved-to-github.git] / src / templates / pager.handlebars
index 0b3f953..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">
   click - script to go to this page unless it is the current one
 }}
 <div class="mkws-pager-desc">
+ {{#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}})
   <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">
 </div>
 
 <div class="mkws-pager-list">