mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-12-27 15:54:50 +00:00
27 lines
774 B
Handlebars
27 lines
774 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<nav class="key-value-header breadcrumb" aria-label="breadcrumbs">
|
|
<ul>
|
|
{{yield}}
|
|
{{#each this.secretPath as |path index|}}
|
|
<li class={{if (is-active-route path.path path.model isExact=true) "is-active"}}>
|
|
<span class="sep">/</span>
|
|
{{#if (and this.linkToPaths (not @isEngine))}}
|
|
<LinkTo
|
|
@route={{path.path}}
|
|
@model={{path.model}}
|
|
data-test-secret-root-link={{if (eq index 0) true false}}
|
|
data-test-secret-breadcrumb={{path.text}}
|
|
>
|
|
{{path.text}}
|
|
</LinkTo>
|
|
{{else}}
|
|
<span>{{path.text}}</span>
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</nav> |