open-vault/ui/app/templates/components/key-value-header.hbs
2018-04-03 09:16:57 -05:00

15 lines
451 B
Handlebars

<ul>
{{#each secretPath as |path index|}}
<li class="{{if (is-active-route path.path path.model isExact=true) 'is-active'}}">
<span class="sep">&#x0002f;</span>
{{#if linkToPaths}}
<a href={{href-to params=(array path.path path.model)}} data-test-secret-root-link={{if (eq index 0) true false}}>
{{path.text}}
</a>
{{else}}
<span>{{path.text}}</span>
{{/if}}
</li>
{{/each}}
</ul>