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

16 lines
463 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
<ul>
{{yield}}
2018-04-03 14:16:57 +00:00
{{#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>