mirror of https://github.com/status-im/consul.git
7 lines
317 B
Handlebars
7 lines
317 B
Handlebars
|
{{#if @peering.State}}
|
||
|
<div class="peerings-badge {{lowercase @peering.State}}" {{tooltip this.tooltip options=(hash hideTooltip=(not this.tooltip))}}>
|
||
|
<Peerings::Badge::Icon @state="{{@peering.State}}" />
|
||
|
<span class="peerings-badge__text">{{capitalize (lowercase @peering.State)}}</span>
|
||
|
</div>
|
||
|
{{/if}}
|