{{#each @items as |item|}}

{{item.Name}}

{{#if (and (and nspace (env 'CONSUL_NSPACES_ENABLED')) @type)}}
Namespace
{{item.Namespace}}
{{/if}} {{#if (eq item.Datacenter @dc)}} {{#let (service/health-percentage item) as |percentage|}} {{#if (not-eq percentage.passing 0)}} {{percentage.passing}}% {{/if}} {{#if (not-eq percentage.warning 0)}} {{percentage.warning}}% {{/if}} {{#if (not-eq percentage.critical 0)}} {{percentage.critical}}% {{/if}} {{/let}} {{else}}
We are unable to determine the health status of services in remote datacenters.
Health
{{/if}}
{{#if @hasMetricsProvider }} {{#if (eq @type 'upstream')}} {{else}} {{/if}} {{/if}}
{{/each}}