From fbd078616c05c3365077244a99ed7a5a25ad8937 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Thu, 14 Apr 2022 16:58:19 +0100 Subject: [PATCH] ui: Only show optimistic details in Ent (#12788) --- .../app/styles/routes/dc/overview/serverstatus.scss | 2 +- .../consul-ui/app/templates/dc/show/serverstatus.hbs | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ui/packages/consul-ui/app/styles/routes/dc/overview/serverstatus.scss b/ui/packages/consul-ui/app/styles/routes/dc/overview/serverstatus.scss index 0e035f8a28..7b36bec251 100644 --- a/ui/packages/consul-ui/app/styles/routes/dc/overview/serverstatus.scss +++ b/ui/packages/consul-ui/app/styles/routes/dc/overview/serverstatus.scss @@ -22,7 +22,7 @@ section[data-route='dc.show.serverstatus'] { @extend %panel; box-shadow: var(--decor-elevation-000); padding: var(--padding-y) var(--padding-x); - width: 770px; + max-width: 770px; display: flex; flex-wrap: wrap; } diff --git a/ui/packages/consul-ui/app/templates/dc/show/serverstatus.hbs b/ui/packages/consul-ui/app/templates/dc/show/serverstatus.hbs index 211289c721..36fa0c86e8 100644 --- a/ui/packages/consul-ui/app/templates/dc/show/serverstatus.hbs +++ b/ui/packages/consul-ui/app/templates/dc/show/serverstatus.hbs @@ -119,6 +119,7 @@ as |item|}} + {{#if (can 'read zones')}}

{{compute (fn route.t 'tolerance.optimistic.header')}} - {{#if (not (can 'read zones'))}} - - {{t 'common.ui.enterprisefeature'}} - - {{/if}} 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|}}

- + {{/if}} {{#if (gt item.RedundancyZones.length 0)}}