mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
* Remove the newline after .hbs copyright headers * Trying with the whitespace control char
33 lines
690 B
Handlebars
33 lines
690 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
~}}
|
|
|
|
{{! template-lint-disable no-unknown-arguments-for-builtin-components }}
|
|
<li data-test-breadcrumb-default
|
|
{{(modifier
|
|
this.maybeKeyboardShortcut
|
|
label="Go up a level"
|
|
pattern=(array "u")
|
|
menuLevel=true
|
|
action=(action this.traverseUpALevel @crumb.args)
|
|
exclusive=true
|
|
)}}
|
|
>
|
|
<LinkTo
|
|
@params={{@crumb.args}}
|
|
data-test-breadcrumb={{@crumb.args.firstObject}}>
|
|
{{#if @crumb.title}}
|
|
<dl>
|
|
<dt>
|
|
{{@crumb.title}}
|
|
</dt>
|
|
<dd>
|
|
{{@crumb.label}}
|
|
</dd>
|
|
</dl>
|
|
{{else}}
|
|
{{@crumb.label}}
|
|
{{/if}}
|
|
</LinkTo>
|
|
</li> |