blob: 82d4eeeaf96a8627cc352507473b796b637b3521 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<div class="paginated-list-header">
<span>Found {{total}} {{{foundWhere}}}</span>
{{#if (or next prev)}}
<span>
{{#if first}}<button class="btn btn-outline-secondary btn-sm" {{action "update" first.href}}><<</button>{{/if}}
{{#if prev}}<button button class="btn btn-outline-secondary btn-sm" {{action "update" prev.href}}><</button>{{/if}}
{{firstItemOnPage}} - {{lastItemOnPage}}
{{#if next}}<button button class="btn btn-outline-secondary btn-sm" {{action "update" next.href}}>></button>{{/if}}
{{#if last}}<button button class="btn btn-outline-secondary btn-sm" {{action "update" last.href}}>>></button>{{/if}}
</span>
{{/if}}
</div>
<div class="paginated-list-content">
{{yield items}}
</div>
|