ui: Only show optimistic details in Ent (#12788)
This commit is contained in:
parent
769d1d6e8e
commit
7c74885180
|
@ -22,7 +22,7 @@ section[data-route='dc.show.serverstatus'] {
|
||||||
@extend %panel;
|
@extend %panel;
|
||||||
box-shadow: var(--decor-elevation-000);
|
box-shadow: var(--decor-elevation-000);
|
||||||
padding: var(--padding-y) var(--padding-x);
|
padding: var(--padding-y) var(--padding-x);
|
||||||
width: 770px;
|
max-width: 770px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
|
@ -119,6 +119,7 @@ as |item|}}
|
||||||
</dl>
|
</dl>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
{{#if (can 'read zones')}}
|
||||||
<section
|
<section
|
||||||
class={{class-map
|
class={{class-map
|
||||||
(array 'optimistic-tolerance')
|
(array 'optimistic-tolerance')
|
||||||
|
@ -127,11 +128,6 @@ as |item|}}
|
||||||
<header>
|
<header>
|
||||||
<h3>
|
<h3>
|
||||||
{{compute (fn route.t 'tolerance.optimistic.header')}}
|
{{compute (fn route.t 'tolerance.optimistic.header')}}
|
||||||
{{#if (not (can 'read zones'))}}
|
|
||||||
<em>
|
|
||||||
{{t 'common.ui.enterprisefeature'}}
|
|
||||||
</em>
|
|
||||||
{{/if}}
|
|
||||||
<span
|
<span
|
||||||
{{tooltip 'With > 30 seconds between server failures, Consul can restore the Immediate Fault Tolerance by replacing failed active voters with healthy back-up voters when using redundancy zones.'}}
|
{{tooltip 'With > 30 seconds between server failures, Consul can restore the Immediate Fault Tolerance by replacing failed active voters with healthy back-up voters when using redundancy zones.'}}
|
||||||
>
|
>
|
||||||
|
@ -152,7 +148,7 @@ as |item|}}
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
{{/if}}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{#if (gt item.RedundancyZones.length 0)}}
|
{{#if (gt item.RedundancyZones.length 0)}}
|
||||||
|
|
Loading…
Reference in New Issue