open-vault/ui/app/templates/components/key-value-header.hbs

15 lines
451 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
<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>