{{#if (gt items.length 0)}}
Health
{{#if (eq 'critical' item.MeshStatus)}} At least one health check on one instance is failing. {{else if (eq 'warning' item.MeshStatus)}} At least one health check on one instance has a warning. {{else if (eq 'passing' item.MeshStatus)}} All health checks are passing. {{else}} There are no health checks. {{/if}}
{{#if (gt item.InstanceCount 0)}} {{#if (eq item.Kind 'terminating-gateway')}} {{item.Name}} {{else if (eq item.Kind 'ingress-gateway')}} {{item.Name}} {{else}} {{item.Name}} {{/if}} {{else}}

{{item.Name}}

{{/if}}
{{#if (and nspace (env 'CONSUL_NSPACES_ENABLED'))}} {{#if (not-eq item.Namespace nspace)}}
Namespace
{{item.Namespace}}
{{/if}} {{/if}} {{#if (not-eq item.InstanceCount 0)}} {{format-number item.InstanceCount}} {{pluralize item.InstanceCount 'Instance' without-count=true}} {{/if}} {{#if item.Proxy}}
This service uses a proxy for the Consul service mesh
connected with proxy
{{/if}}
{{/if}}