From 75343efcc98147774b3c24f6d34a7c3d8cdbe5e4 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Mon, 13 Dec 2021 15:04:35 +0000 Subject: [PATCH] ui: Prefer shorter partition word in certain places vs Admin Partition (#11772) --- .../app/components/consul/partition/form/index.hbs | 2 +- .../app/components/consul/partition/notifications/index.hbs | 2 +- .../app/components/consul/partition/selector/index.hbs | 2 +- .../consul-partitions/app/templates/dc/partitions/edit.hbs | 2 +- .../consul-partitions/app/templates/dc/partitions/index.hbs | 2 +- ui/packages/consul-ui/app/components/auth-form/index.hbs | 2 +- ui/packages/consul-ui/app/components/oidc-select/index.hbs | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/packages/consul-partitions/app/components/consul/partition/form/index.hbs b/ui/packages/consul-partitions/app/components/consul/partition/form/index.hbs index 07bdf9281..7b5d0858d 100644 --- a/ui/packages/consul-partitions/app/components/consul/partition/form/index.hbs +++ b/ui/packages/consul-partitions/app/components/consul/partition/form/index.hbs @@ -12,7 +12,7 @@ ) }} @type={{'partition'}} - @label={{'Admin Partition'}} + @label={{'Partition'}} @ondelete={{fn (if @ondelete @ondelete @onsubmit) @item}} @onchange={{fn (optional @onsubmit) @item}} as |writer|> diff --git a/ui/packages/consul-partitions/app/components/consul/partition/notifications/index.hbs b/ui/packages/consul-partitions/app/components/consul/partition/notifications/index.hbs index 46e0f483b..5b50a2f66 100644 --- a/ui/packages/consul-partitions/app/components/consul/partition/notifications/index.hbs +++ b/ui/packages/consul-partitions/app/components/consul/partition/notifications/index.hbs @@ -9,7 +9,7 @@

- Your Admin Partition has been marked for deletion. + Your Partition has been marked for deletion.

diff --git a/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs b/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs index f67ed1cac..23f510e33 100644 --- a/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs +++ b/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs @@ -45,7 +45,7 @@ as |partition|}} @href={{href-to 'dc.partitions.index' @dc.Name}} > - Manage Admin Partitions + Manage Partitions {{/if}} diff --git a/ui/packages/consul-partitions/app/templates/dc/partitions/edit.hbs b/ui/packages/consul-partitions/app/templates/dc/partitions/edit.hbs index 0396562f6..327bc32da 100644 --- a/ui/packages/consul-partitions/app/templates/dc/partitions/edit.hbs +++ b/ui/packages/consul-partitions/app/templates/dc/partitions/edit.hbs @@ -39,7 +39,7 @@ as |dc partition nspace item|}} diff --git a/ui/packages/consul-partitions/app/templates/dc/partitions/index.hbs b/ui/packages/consul-partitions/app/templates/dc/partitions/index.hbs index 53f96bb0d..824a6ab4f 100644 --- a/ui/packages/consul-partitions/app/templates/dc/partitions/index.hbs +++ b/ui/packages/consul-partitions/app/templates/dc/partitions/index.hbs @@ -72,7 +72,7 @@ as |route|> ) }} @type="partition" - @label="Admin Partition" + @label="Partition" @ondelete={{refresh-route}} as |writer|> diff --git a/ui/packages/consul-ui/app/components/auth-form/index.hbs b/ui/packages/consul-ui/app/components/auth-form/index.hbs index 4eab2a8b2..3578e467d 100644 --- a/ui/packages/consul-ui/app/components/auth-form/index.hbs +++ b/ui/packages/consul-ui/app/components/auth-form/index.hbs @@ -84,7 +84,7 @@ as |TabState IgnoredGuard IgnoredAction tabDispatch tabState|> The token entered does not exist. Please enter a valid token to log in. {{else if (eq this.error.status '404')}} No providers
- No SSO providers are configured for that Admin Partition. + No SSO providers are configured for that Partition. {{else}} Error
{{this.error.detail}} diff --git a/ui/packages/consul-ui/app/components/oidc-select/index.hbs b/ui/packages/consul-ui/app/components/oidc-select/index.hbs index 9fb61c372..526a3e516 100644 --- a/ui/packages/consul-ui/app/components/oidc-select/index.hbs +++ b/ui/packages/consul-ui/app/components/oidc-select/index.hbs @@ -34,7 +34,7 @@ as |chart|}} {{on 'click' (queue (set this 'partition' '') (fn dispatch "RESET"))}} class="reset" > - Choose different Admin Partition + Choose different Partition @@ -53,7 +53,7 @@ as |chart|}} ) ) }} - @placeholder="Enter name of Admin Partition to log in to" + @placeholder="Enter your Partition" @oninput={{action (mut this.partition) value="target.value"}} @chart={{hash state=state