3e6e16d54f
* Return all services except Proxies * Add Gateway icon to the codebase * Create and implement ConsulExternalSource component * Fix tests to work with new mock data and add a Gateway test * Update consul-api-double to 2.14.3
20 lines
686 B
Handlebars
20 lines
686 B
Handlebars
{{#if item}}
|
|
{{#let (if _externalSource _externalSource (service/external-source item)) as |externalSource|}}
|
|
{{#if externalSource}}
|
|
{{#if (has-block)}}
|
|
{{yield
|
|
(component 'consul-external-source' item=item _externalSource=externalSource)
|
|
}}
|
|
{{else}}
|
|
<span data-test-external-source={{externalSource}} class="consul-external-source {{externalSource}}">
|
|
{{#if (eq externalSource 'aws')}}
|
|
<span>Registered via {{uppercase externalSource}}</span>
|
|
{{else}}
|
|
<span>Registered via {{capitalize externalSource}}</span>
|
|
{{/if}}
|
|
</span>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{/let}}
|
|
{{/if}}
|