mirror of https://github.com/hashicorp/consul
12 lines
265 B
Handlebars
12 lines
265 B
Handlebars
|
{{#if item.Kind}}
|
||
|
{{#if (has-block)}}
|
||
|
{{yield
|
||
|
(component 'consul-kind' item=item)
|
||
|
}}
|
||
|
{{else}}
|
||
|
<span data-test-kind={{item.Kind}} class="consul-kind gateway">
|
||
|
<span>{{titleize (humanize item.Kind)}}</span>
|
||
|
</span>
|
||
|
{{/if}}
|
||
|
{{/if}}
|