Browse Source

ui: Prefer shorter partition word in certain places vs Admin Partition (#11772)

pull/11822/head
John Cowen 3 years ago committed by GitHub
parent
commit
b5c0b35ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/packages/consul-partitions/app/components/consul/partition/form/index.hbs
  2. 2
      ui/packages/consul-partitions/app/components/consul/partition/notifications/index.hbs
  3. 2
      ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs
  4. 2
      ui/packages/consul-partitions/app/templates/dc/partitions/edit.hbs
  5. 2
      ui/packages/consul-partitions/app/templates/dc/partitions/index.hbs
  6. 2
      ui/packages/consul-ui/app/components/auth-form/index.hbs
  7. 4
      ui/packages/consul-ui/app/components/oidc-select/index.hbs

2
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|>

2
ui/packages/consul-partitions/app/components/consul/partition/notifications/index.hbs

@ -9,7 +9,7 @@
</notice.Header>
<notice.Body>
<p>
Your Admin Partition has been marked for deletion.
Your Partition has been marked for deletion.
</p>
</notice.Body>
</Notice>

2
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}}
>
<BlockSlot @name="label">
Manage Admin Partitions
Manage Partitions
</BlockSlot>
</MenuItem>
{{/if}}

2
ui/packages/consul-partitions/app/templates/dc/partitions/edit.hbs

@ -39,7 +39,7 @@ as |dc partition nspace item|}}
<route.Title
@title={{if
(is "new partition" item=item)
"New Admin Partition"
"New Partition"
(concat "Edit " item.Name)
}}
/>

2
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|>
<BlockSlot @name="removed" as |after|>

2
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')}}
<strong>No providers</strong><br />
No SSO providers are configured for that Admin Partition.
No SSO providers are configured for that Partition.
{{else}}
<strong>Error</strong><br />
{{this.error.detail}}

4
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
</Action>
</State>
@ -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

Loading…
Cancel
Save