mirror of https://github.com/status-im/consul.git
21 lines
764 B
Handlebars
21 lines
764 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{#if (or @noMetricsReason @error)}}
|
|
<span data-test-topology-metrics-status class="topology-metrics-status-error">
|
|
{{#if (eq @noMetricsReason 'ingress-gateway')}}
|
|
{{t "components.consul.topology-metrics.status.ingress-gateway"}}
|
|
{{else if (eq @noMetricsReason 'remote-dc')}}
|
|
{{t "components.consul.topology-metrics.status.error"}}
|
|
<span
|
|
{{tooltip (t "components.consul.topology-metrics.status.remote-dc")}}
|
|
/>
|
|
{{else if @error}}
|
|
{{t "components.consul.topology-metrics.status.error"}}
|
|
{{/if}}
|
|
</span>
|
|
{{else}}
|
|
<span class="topology-metrics-status-loader">{{t "components.consul.topology-metrics.status.loading"}}</span>
|
|
{{/if}} |