github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/ui/app/templates/components/list-pagination.hbs (about)

     1  {{#if source.length}}
     2    {{yield (hash
     3      first=(component "list-pagination/list-pager" test="first" page=1 visible=(not (eq page 1)))
     4      prev=(component "list-pagination/list-pager" test="prev" page=(dec page) visible=(not (eq page 1)))
     5      next=(component "list-pagination/list-pager" test="next" page=(inc page) visible=(not (eq page lastPage)))
     6      last=(component "list-pagination/list-pager" test="last" 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}}