github.com/hernad/nomad@v1.6.112/ui/app/templates/components/fs/breadcrumbs.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  <ul>
     7    <li class={{if this.breadcrumbs "" "is-active"}}>
     8      <Fs::Link @allocation={{this.allocation}} @taskState={{this.taskState}}>
     9        {{if this.taskState this.taskState.name this.allocation.shortId}}
    10      </Fs::Link>
    11    </li>
    12    {{#each this.breadcrumbs as |breadcrumb|}}
    13      <li class={{if breadcrumb.isLast "is-active"}}>
    14        <Fs::Link @allocation={{this.allocation}} @taskState={{this.taskState}} @path={{breadcrumb.path}}>
    15          {{breadcrumb.name}}
    16        </Fs::Link>
    17      </li>
    18    {{/each}}
    19  </ul>