Show how many jobs exist but are being hidden by the serach term

This commit is contained in:
Michael Lange 2018-04-12 09:21:38 -07:00
parent 47f4630607
commit 0fb407baec
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@
<nav class="pagination"> <nav class="pagination">
<div class="pagination-numbers"> <div class="pagination-numbers">
{{p.startsAt}}&ndash;{{p.endsAt}} of {{sortedJobs.length}} {{p.startsAt}}&ndash;{{p.endsAt}} of {{sortedJobs.length}}
{{#if searchTerm}}
<em>({{dec sortedJobs.length filteredJobs.length}} hidden by search term)</em>
{{/if}}
</div> </div>
{{#p.prev class="pagination-previous"}} &lt; {{/p.prev}} {{#p.prev class="pagination-previous"}} &lt; {{/p.prev}}
{{#p.next class="pagination-next"}} &gt; {{/p.next}} {{#p.next class="pagination-next"}} &gt; {{/p.next}}