{{#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}} {{#if label}} {{label}} {{else}} {{#if (eq externalSource 'aws')}} Registered via {{uppercase externalSource}} {{else}} Registered via {{capitalize externalSource}} {{/if}} {{/if}} {{/if}} {{/if}} {{/let}} {{/if}}