2020-07-09 20:19:07 +00:00
|
|
|
{{#if this.source.length}}
|
2017-09-19 14:47:10 +00:00
|
|
|
{{yield (hash
|
2020-07-28 17:59:14 +00:00
|
|
|
first=(component "list-pagination/list-pager" test="first" label="First page" page=1 visible=(not (eq this.page 1)))
|
|
|
|
prev=(component "list-pagination/list-pager" test="prev" label="Previous page" page=(dec this.page) visible=(not (eq this.page 1)))
|
|
|
|
next=(component "list-pagination/list-pager" test="next" label="Next page" page=(inc this.page) visible=(not (eq this.page this.lastPage)))
|
|
|
|
last=(component "list-pagination/list-pager" test="last" label="Last page" page=this.lastPage visible=(not (eq this.page this.lastPage)))
|
2020-07-09 20:19:07 +00:00
|
|
|
pageLinks=this.pageLinks
|
|
|
|
currentPage=this.page
|
|
|
|
totalPages=this.lastPage
|
|
|
|
startsAt=this.startsAt
|
|
|
|
endsAt=this.endsAt
|
|
|
|
list=this.list
|
2019-10-24 12:05:43 +00:00
|
|
|
)}}
|
2017-09-19 14:47:10 +00:00
|
|
|
{{/if}}
|