github.com/hernad/nomad@v1.6.112/ui/app/templates/components/list-pagination.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  {{#if this.source.length}}
     7    {{yield (hash
     8      first=(component "list-pagination/list-pager" test="first" label="First page" page=1 visible=(not (eq this.page 1)))
     9      prev=(component "list-pagination/list-pager" test="prev" label="Previous page" page=(dec this.page) visible=(not (eq this.page 1)))
    10      next=(component "list-pagination/list-pager" test="next" label="Next page" page=(inc this.page) visible=(not (eq this.page this.lastPage)))
    11      last=(component "list-pagination/list-pager" test="last" label="Last page" page=this.lastPage visible=(not (eq this.page this.lastPage)))
    12      pageLinks=this.pageLinks
    13      currentPage=this.page
    14      totalPages=this.lastPage
    15      startsAt=this.startsAt
    16      endsAt=this.endsAt
    17      list=this.list
    18    )}}
    19  {{/if}}