github.com/hspak/nomad@v0.7.2-0.20180309000617-bc4ae22a39a5/ui/app/templates/components/list-pagination.hbs (about) 1 {{#if source.length}} 2 {{yield (hash 3 first=(component "list-pagination/list-pager" page=1 visible=(not (eq page 1))) 4 prev=(component "list-pagination/list-pager" page=(dec page) visible=(not (eq page 1))) 5 next=(component "list-pagination/list-pager" page=(inc page) visible=(not (eq page lastPage))) 6 last=(component "list-pagination/list-pager" page=lastPage visible=(not (eq page lastPage))) 7 pageLinks=pageLinks 8 currentPage=page 9 totalPages=lastPage 10 startsAt=startsAt 11 endsAt=endsAt 12 list=list 13 )}} 14 {{else}} 15 {{yield to="inverse"}} 16 {{/if}}