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

This commit is contained in:
John Cowen 2021-12-13 15:04:35 +00:00 committed by GitHub
parent 470fce1e07
commit 75343efcc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@
) )
}} }}
@type={{'partition'}} @type={{'partition'}}
@label={{'Admin Partition'}} @label={{'Partition'}}
@ondelete={{fn (if @ondelete @ondelete @onsubmit) @item}} @ondelete={{fn (if @ondelete @ondelete @onsubmit) @item}}
@onchange={{fn (optional @onsubmit) @item}} @onchange={{fn (optional @onsubmit) @item}}
as |writer|> as |writer|>

View File

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

View File

@ -45,7 +45,7 @@ as |partition|}}
@href={{href-to 'dc.partitions.index' @dc.Name}} @href={{href-to 'dc.partitions.index' @dc.Name}}
> >
<BlockSlot @name="label"> <BlockSlot @name="label">
Manage Admin Partitions Manage Partitions
</BlockSlot> </BlockSlot>
</MenuItem> </MenuItem>
{{/if}} {{/if}}

View File

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

View File

@ -72,7 +72,7 @@ as |route|>
) )
}} }}
@type="partition" @type="partition"
@label="Admin Partition" @label="Partition"
@ondelete={{refresh-route}} @ondelete={{refresh-route}}
as |writer|> as |writer|>
<BlockSlot @name="removed" as |after|> <BlockSlot @name="removed" as |after|>

View File

@ -84,7 +84,7 @@ as |TabState IgnoredGuard IgnoredAction tabDispatch tabState|>
The token entered does not exist. Please enter a valid token to log in. The token entered does not exist. Please enter a valid token to log in.
{{else if (eq this.error.status '404')}} {{else if (eq this.error.status '404')}}
<strong>No providers</strong><br /> <strong>No providers</strong><br />
No SSO providers are configured for that Admin Partition. No SSO providers are configured for that Partition.
{{else}} {{else}}
<strong>Error</strong><br /> <strong>Error</strong><br />
{{this.error.detail}} {{this.error.detail}}

View File

@ -34,7 +34,7 @@ as |chart|}}
{{on 'click' (queue (set this 'partition' '') (fn dispatch "RESET"))}} {{on 'click' (queue (set this 'partition' '') (fn dispatch "RESET"))}}
class="reset" class="reset"
> >
Choose different Admin Partition Choose different Partition
</Action> </Action>
</State> </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"}} @oninput={{action (mut this.partition) value="target.value"}}
@chart={{hash @chart={{hash
state=state state=state