mirror of https://github.com/hashicorp/consul
12 lines
347 B
Handlebars
12 lines
347 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{#if @peering.State}}
|
|
<div class="peerings-badge {{lowercase @peering.State}}" {{tooltip this.tooltip}}>
|
|
<Peerings::Badge::Icon @state="{{@peering.State}}" />
|
|
<span class="peerings-badge__text">{{capitalize (lowercase @peering.State)}}</span>
|
|
</div>
|
|
{{/if}}
|