diff --git a/addons/rose/addon/components/rose/layout/page/index.hbs b/addons/rose/addon/components/rose/layout/page/index.hbs
index 72609c244..902a2b316 100644
--- a/addons/rose/addon/components/rose/layout/page/index.hbs
+++ b/addons/rose/addon/components/rose/layout/page/index.hbs
@@ -6,11 +6,7 @@
{{yield
(hash
- breadcrumbs=(component
- 'rose/anonymous' class='rose-layout-page-breadcrumbs'
- )
header=(component 'rose/anonymous' class='rose-layout-page-header')
- actions=(component 'rose/anonymous' class='rose-layout-page-actions')
navigation=(component
'rose/anonymous' class='rose-layout-page-navigation'
)
diff --git a/addons/rose/app/styles/rose/components/header/_dropdown.scss b/addons/rose/app/styles/rose/components/header/_dropdown.scss
index 931955817..3a277aef8 100644
--- a/addons/rose/app/styles/rose/components/header/_dropdown.scss
+++ b/addons/rose/app/styles/rose/components/header/_dropdown.scss
@@ -5,7 +5,7 @@
.rose-header {
// Temporary fix: This header component will be retired upon integrating HDS side nav for desktop.
- .header-dropdown-button-override > button {
+ .header-dropdown-button-override > button {
background: var(--black);
border: none;
color: var(--white);
diff --git a/addons/rose/app/styles/rose/components/layout/_page.scss b/addons/rose/app/styles/rose/components/layout/_page.scss
index b0ca8ceaf..b924f2963 100644
--- a/addons/rose/app/styles/rose/components/layout/_page.scss
+++ b/addons/rose/app/styles/rose/components/layout/_page.scss
@@ -9,36 +9,32 @@
.rose-layout-page {
display: grid;
grid-template-areas:
- 'breadcrumbs breadcrumbs breadcrumbs'
- 'header header actions'
+ 'header header header'
'navigation navigation navigation'
'body body body';
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto 1fr;
- .rose-layout-page-breadcrumbs {
- grid-area: breadcrumbs;
- }
-
.rose-layout-page-header {
grid-area: header;
+ margin-bottom: sizing.rems(s);
- h2 {
+ h1 {
display: flex;
- gap: sizing.rems(xxs);
+ align-items: center;
+ gap: sizing.rems(xs);
+ margin: 0;
.doc-link {
display: flex;
align-items: center;
}
}
- }
- .rose-layout-page-actions {
- grid-area: actions;
- display: flex;
- justify-content: flex-end;
- align-items: center;
+ .hds-copy-snippet {
+ align-self: start;
+ margin-top: sizing.rems(s);
+ }
}
.rose-layout-page-navigation {
@@ -55,9 +51,7 @@
.rose-layout-page {
grid-template-columns: 1fr;
grid-template-areas:
- 'breadcrumbs'
'header'
- 'actions'
'navigation'
'body';
}
diff --git a/e2e-tests/desktop/tests/authentication.spec.js b/e2e-tests/desktop/tests/authentication.spec.js
index 24c573967..d1e3cd947 100644
--- a/e2e-tests/desktop/tests/authentication.spec.js
+++ b/e2e-tests/desktop/tests/authentication.spec.js
@@ -22,9 +22,7 @@ test.describe('user/password authentication tests', () => {
);
// click dropdown
- await electronPage
- .getByRole('button', { name: 'admin' })
- .click();
+ await electronPage.getByRole('button', { name: 'admin' }).click();
await electronPage.getByRole('button', { name: 'Sign Out' }).click();
await expect(electronPage).toHaveURL(/.*\/scopes\/global\/authenticate\//);
diff --git a/e2e-tests/desktop/tests/scope.spec.js b/e2e-tests/desktop/tests/scope.spec.js
index 969e3abd9..fad0beda5 100644
--- a/e2e-tests/desktop/tests/scope.spec.js
+++ b/e2e-tests/desktop/tests/scope.spec.js
@@ -52,7 +52,9 @@ test.describe('Scope tests', () => {
}) => {
const headerNavLocator = authedPage.getByLabel('header-nav');
await expect(headerNavLocator).toBeVisible();
- await expect(headerNavLocator.locator('.hds-dropdown-toggle-button')).toHaveText('Global');
+ await expect(
+ headerNavLocator.locator('.hds-dropdown-toggle-button'),
+ ).toHaveText('Global');
await expect(
authedPage.getByRole('link', { name: targetA.name }),
@@ -67,7 +69,9 @@ test.describe('Scope tests', () => {
});
await orgAHeaderNavLink.click();
- await expect(headerNavLocator.locator('.hds-dropdown-toggle-button')).toHaveText(orgA.name);
+ await expect(
+ headerNavLocator.locator('.hds-dropdown-toggle-button'),
+ ).toHaveText(orgA.name);
await expect(
authedPage.getByRole('link', { name: targetA.name }),
).toBeVisible();
@@ -82,7 +86,9 @@ test.describe('Scope tests', () => {
await orgBHeaderNavLink.click();
- await expect(headerNavLocator.locator('.hds-dropdown-toggle-button')).toHaveText(orgB.name);
+ await expect(
+ headerNavLocator.locator('.hds-dropdown-toggle-button'),
+ ).toHaveText(orgB.name);
await expect(
authedPage.getByRole('link', { name: targetB.name }),
).toBeVisible();
diff --git a/ui/admin/app/components/auth-methods/auth-method/accounts/account/header/index.hbs b/ui/admin/app/components/auth-methods/auth-method/accounts/account/header/index.hbs
index 0a823bfc4..28f073031 100644
--- a/ui/admin/app/components/auth-methods/auth-method/accounts/account/header/index.hbs
+++ b/ui/admin/app/components/auth-methods/auth-method/accounts/account/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.account.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.account.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/auth-methods/auth-method/header/index.hbs b/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
index 8001fea5c..12b9f62e0 100644
--- a/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
+++ b/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
@@ -3,16 +3,16 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.auth-method.title'}}
{{#if @model.isPrimary}}
-
-
{{/if}}
-
-
{{t
- 'resources.auth-method.description'
- }}
-
\ No newline at end of file
+@header.Title>
+<@header.Description>
+ {{t 'resources.auth-method.description'}}
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/auth-methods/auth-method/managed-groups/managed-group/header/index.hbs b/ui/admin/app/components/auth-methods/auth-method/managed-groups/managed-group/header/index.hbs
index 9fef5798b..59e5b0797 100644
--- a/ui/admin/app/components/auth-methods/auth-method/managed-groups/managed-group/header/index.hbs
+++ b/ui/admin/app/components/auth-methods/auth-method/managed-groups/managed-group/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.managed-group.title'}}
-
-
{{t
- 'resources.managed-group.description'
- }}
-
\ No newline at end of file
+@header.Title>
+<@header.Description>
+ {{t 'resources.managed-group.description'}}
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/credential-stores/credential-store/header/index.hbs b/ui/admin/app/components/credential-stores/credential-store/header/index.hbs
index ced2e1a74..1d56c19af 100644
--- a/ui/admin/app/components/credential-stores/credential-store/header/index.hbs
+++ b/ui/admin/app/components/credential-stores/credential-store/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.credential-store.title'}}
-
-
{{t
- 'resources.credential-store.description'
- }}
-
\ No newline at end of file
+@header.Title>
+<@header.Description>
+ {{t 'resources.credential-store.description'}}
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/form/account/ldap/index.hbs b/ui/admin/app/components/form/account/ldap/index.hbs
index fcd25ed03..9c1d6a4d1 100644
--- a/ui/admin/app/components/form/account/ldap/index.hbs
+++ b/ui/admin/app/components/form/account/ldap/index.hbs
@@ -80,8 +80,8 @@
diff --git a/ui/admin/app/components/form/auth-method/ldap/index.hbs b/ui/admin/app/components/form/auth-method/ldap/index.hbs
index 64c37679d..bb907b339 100644
--- a/ui/admin/app/components/form/auth-method/ldap/index.hbs
+++ b/ui/admin/app/components/form/auth-method/ldap/index.hbs
@@ -48,8 +48,8 @@
@@ -222,8 +222,8 @@
@@ -307,8 +307,8 @@
@@ -350,8 +350,8 @@
@@ -448,8 +448,8 @@
diff --git a/ui/admin/app/components/form/scope/add-storage-policy/create.hbs b/ui/admin/app/components/form/scope/add-storage-policy/create.hbs
index 988ccec35..325fdfccf 100644
--- a/ui/admin/app/components/form/scope/add-storage-policy/create.hbs
+++ b/ui/admin/app/components/form/scope/add-storage-policy/create.hbs
@@ -10,13 +10,15 @@
/>
-
-
-
-
-
- {{t 'resources.policy.titles.new'}}
+
+
+
+
+
+ {{t 'resources.policy.titles.new'}}
+
+
@@ -26,5 +28,4 @@
@cancel={{fn this.cancel @model}}
/>
-
\ No newline at end of file
diff --git a/ui/admin/app/components/groups/group/header/index.hbs b/ui/admin/app/components/groups/group/header/index.hbs
index 846d61991..ecdd226bd 100644
--- a/ui/admin/app/components/groups/group/header/index.hbs
+++ b/ui/admin/app/components/groups/group/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.group.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.group.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/host-catalogs/host-catalog/header/index.hbs b/ui/admin/app/components/host-catalogs/host-catalog/header/index.hbs
index 68773f2fd..d46ddc979 100644
--- a/ui/admin/app/components/host-catalogs/host-catalog/header/index.hbs
+++ b/ui/admin/app/components/host-catalogs/host-catalog/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.host-catalog.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.host-catalog.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/add-hosts/header/index.hbs b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/add-hosts/header/index.hbs
index bd46567b1..4ca943bfd 100644
--- a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/add-hosts/header/index.hbs
+++ b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/add-hosts/header/index.hbs
@@ -3,10 +3,10 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.host-set.host.messages.add.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.host-set.host.messages.add.description'}}
-
\ No newline at end of file
+@header.Description>
\ No newline at end of file
diff --git a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/create-and-add-host/header/index.hbs b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/create-and-add-host/header/index.hbs
index 620f67fdd..d0e6fd5f9 100644
--- a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/create-and-add-host/header/index.hbs
+++ b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/create-and-add-host/header/index.hbs
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.host-set.actions.create-and-add-host'}}
-
\ No newline at end of file
+@header.Title>
\ No newline at end of file
diff --git a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/header/index.hbs b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/header/index.hbs
index 8394140fb..1b2473ee9 100644
--- a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/header/index.hbs
+++ b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/host-set/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.host-set.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.host-set.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/new/header/index.hbs b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/new/header/index.hbs
index fe3ad3970..2542e1c1b 100644
--- a/ui/admin/app/components/host-catalogs/host-catalog/host-sets/new/header/index.hbs
+++ b/ui/admin/app/components/host-catalogs/host-catalog/host-sets/new/header/index.hbs
@@ -3,10 +3,10 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.host-set.titles.new'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.host-set.description'}}
-
\ No newline at end of file
+@header.Description>
\ No newline at end of file
diff --git a/ui/admin/app/components/host-catalogs/host-catalog/hosts/host/header/index.hbs b/ui/admin/app/components/host-catalogs/host-catalog/hosts/host/header/index.hbs
index 7c08bac6c..bc9e9cdbd 100644
--- a/ui/admin/app/components/host-catalogs/host-catalog/hosts/host/header/index.hbs
+++ b/ui/admin/app/components/host-catalogs/host-catalog/hosts/host/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.host.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.host.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/host-catalogs/host-catalog/hosts/new/header/index.hbs b/ui/admin/app/components/host-catalogs/host-catalog/hosts/new/header/index.hbs
index 75ab9cfb7..00d315c31 100644
--- a/ui/admin/app/components/host-catalogs/host-catalog/hosts/new/header/index.hbs
+++ b/ui/admin/app/components/host-catalogs/host-catalog/hosts/new/header/index.hbs
@@ -3,10 +3,10 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.host.titles.new'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.host.description'}}
-
\ No newline at end of file
+@header.Description>
\ No newline at end of file
diff --git a/ui/admin/app/components/roles/role/header/index.hbs b/ui/admin/app/components/roles/role/header/index.hbs
index 4d1863b64..99953dc0b 100644
--- a/ui/admin/app/components/roles/role/header/index.hbs
+++ b/ui/admin/app/components/roles/role/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.role.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.role.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/targets/target/header/index.hbs b/ui/admin/app/components/targets/target/header/index.hbs
index c86f0be15..d055be83d 100644
--- a/ui/admin/app/components/targets/target/header/index.hbs
+++ b/ui/admin/app/components/targets/target/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.target.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.target.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/users/user/header/index.hbs b/ui/admin/app/components/users/user/header/index.hbs
index a101c9b8c..d9ce8f01b 100644
--- a/ui/admin/app/components/users/user/header/index.hbs
+++ b/ui/admin/app/components/users/user/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.user.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.user.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/components/workers/worker/header/index.hbs b/ui/admin/app/components/workers/worker/header/index.hbs
index 3b582292c..f0184b84b 100644
--- a/ui/admin/app/components/workers/worker/header/index.hbs
+++ b/ui/admin/app/components/workers/worker/header/index.hbs
@@ -3,11 +3,13 @@
SPDX-License-Identifier: BUSL-1.1
}}
-
+<@header.Title>
{{t 'resources.worker.title'}}
-
-
+@header.Title>
+<@header.Description>
{{t 'resources.worker.description'}}
-
-
\ No newline at end of file
+@header.Description>
+<@header.Generic>
+
+@header.Generic>
\ No newline at end of file
diff --git a/ui/admin/app/controllers/scopes/scope/edit.js b/ui/admin/app/controllers/scopes/scope/edit.js
index ebe02ed1f..aa9870b7d 100644
--- a/ui/admin/app/controllers/scopes/scope/edit.js
+++ b/ui/admin/app/controllers/scopes/scope/edit.js
@@ -7,4 +7,33 @@ import Controller, { inject as controller } from '@ember/controller';
export default class ScopesScopeEditController extends Controller {
@controller('scopes/scope/index') scopes;
+
+ get scopeTypes() {
+ return [
+ {
+ key: 'isGlobal',
+ title: 'resources.global.title',
+ description: 'resources.global.description',
+ doc: 'global',
+ },
+ {
+ key: 'isOrg',
+ title: 'resources.org.title',
+ description: 'resources.org.description',
+ doc: 'org',
+ },
+ {
+ key: 'isProject',
+ title: 'resources.project.title',
+ description: 'resources.project.description',
+ doc: 'project',
+ },
+ {
+ key: 'isScope',
+ title: 'resources.scope.title',
+ description: 'resources.scope.description',
+ doc: 'scope',
+ },
+ ];
+ }
}
diff --git a/ui/admin/app/templates/scopes/scope/add-storage-policy/create.hbs b/ui/admin/app/templates/scopes/scope/add-storage-policy/create.hbs
index 5f4b00052..17f85ff2d 100644
--- a/ui/admin/app/templates/scopes/scope/add-storage-policy/create.hbs
+++ b/ui/admin/app/templates/scopes/scope/add-storage-policy/create.hbs
@@ -10,18 +10,20 @@
/>
-
-
-
-
- {{t 'resources.policy.titles.new'}}
-
-
-
- {{t 'resources.policy.description'}}
-
+
+
+
+
+
+ {{t 'resources.policy.titles.new'}}
+
+
+
+ {{t 'resources.policy.description'}}
+
+
diff --git a/ui/admin/app/templates/scopes/scope/add-storage-policy/index.hbs b/ui/admin/app/templates/scopes/scope/add-storage-policy/index.hbs
index 802cbebc4..cc9c79f6f 100644
--- a/ui/admin/app/templates/scopes/scope/add-storage-policy/index.hbs
+++ b/ui/admin/app/templates/scopes/scope/add-storage-policy/index.hbs
@@ -9,15 +9,16 @@
/>
-
-
-
-
-
- {{t 'resources.policy.actions.add'}}
-
-
+
+
+
+
+
+ {{t 'resources.policy.actions.add'}}
+
+
+
@@ -28,5 +29,4 @@
@cancel={{fn this.cancel @model}}
/>
-
\ No newline at end of file
diff --git a/ui/admin/app/templates/scopes/scope/aliases/alias/index.hbs b/ui/admin/app/templates/scopes/scope/aliases/alias/index.hbs
index 1e69c38ec..6be11cc3f 100644
--- a/ui/admin/app/templates/scopes/scope/aliases/alias/index.hbs
+++ b/ui/admin/app/templates/scopes/scope/aliases/alias/index.hbs
@@ -4,18 +4,56 @@
}}
-
-
-
-
- {{t 'resources.alias.title'}}
-
-
-
- {{t 'resources.alias.description'}}
-
-
+
+
+
+
+
+ {{t 'resources.alias.title'}}
+
+
+
+ {{t 'resources.alias.description'}}
+
+
+ {{#let
+ (hash
+ canUpdate=(can 'update model' @model)
+ canDelete=(can 'delete model' @model)
+ )
+ as |perms|
+ }}
+ {{#if (or perms.canUpdate perms.canDelete)}}
+
+
+ {{#if (and perms.canUpdate @model.destination_id)}}
+
+ {{t 'actions.clear'}}
+
+ {{/if}}
+ {{#if perms.canDelete}}
+
+ {{t 'actions.delete'}}
+
+ {{/if}}
+
+ {{/if}}
+ {{/let}}
+
+
+
+
+
@@ -25,39 +63,7 @@
- {{#let
- (hash
- canUpdate=(can 'update model' @model)
- canDelete=(can 'delete model' @model)
- )
- as |perms|
- }}
-
- {{#if (or perms.canUpdate perms.canDelete)}}
-
-
- {{#if (and perms.canUpdate @model.destination_id)}}
-
- {{t 'actions.clear'}}
-
- {{/if}}
- {{#if perms.canDelete}}
-
- {{t 'actions.delete'}}
-
- {{/if}}
-
-
- {{/if}}
-
- {{/let}}
-
-
-
-
- {{t 'resources.alias.title_plural'}}
-
-
-
- {{t 'resources.alias.description'}}
-
+
+
+
+
+
+ {{t 'resources.alias.title_plural'}}
+
+
+
+ {{t 'resources.alias.description'}}
+
+
+ {{#if (can 'create model' this.scope collection='aliases')}}
+ {{#if @model.doAliasesExist}}
+
+ {{/if}}
+ {{/if}}
+
+
-
- {{#if (can 'create model' this.scope collection='aliases')}}
- {{#if @model.doAliasesExist}}
-
- {{/if}}
- {{/if}}
-
-
{{#if @model.doAliasesExist}}
diff --git a/ui/admin/app/templates/scopes/scope/aliases/new.hbs b/ui/admin/app/templates/scopes/scope/aliases/new.hbs
index 29beba4b6..fe44ec807 100644
--- a/ui/admin/app/templates/scopes/scope/aliases/new.hbs
+++ b/ui/admin/app/templates/scopes/scope/aliases/new.hbs
@@ -10,20 +10,21 @@
/>
-
-
-
-
-
- {{t 'resources.alias.titles.new'}}
-
-
-
- {{t 'resources.alias.description'}}
-
-
+
+
+
+
+
+ {{t 'resources.alias.titles.new'}}
+
+
+
+ {{t 'resources.alias.description'}}
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- {{t
- 'resources.account.title'
- }}
-
- {{t 'resources.account.messages.set-password.description'}}
-
-
+
+
+
+
+
+ {{t 'resources.account.title'}}
+
+
+ {{t 'resources.account.messages.set-password.description'}}
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
{{#if @model.accounts}}
{{! OIDC accounts display more fields }}
diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/new.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/new.hbs
index 3d8f7e969..7d1754d28 100644
--- a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/new.hbs
+++ b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/new.hbs
@@ -11,18 +11,19 @@
-
-
-
-
-
- {{t 'resources.account.titles.new'}}
-
-
-
- {{t 'resources.account.description'}}
-
+
+
+
+
+
+ {{t 'resources.account.titles.new'}}
+
+
+
+ {{t 'resources.account.description'}}
+
+
diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/index.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/index.hbs
index a9bbbaa1c..02140cf00 100644
--- a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/index.hbs
+++ b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/index.hbs
@@ -4,29 +4,28 @@
}}
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
{{#if @model.managedGroups}}
{{#if (get @model.managedGroups '0.isOIDC')}}
diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/managed-group/index.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/managed-group/index.hbs
index 6504d3fcb..62ef2744f 100644
--- a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/managed-group/index.hbs
+++ b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/managed-group/index.hbs
@@ -4,15 +4,22 @@
}}
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -21,13 +28,6 @@
/>
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -27,13 +34,6 @@
/>
-
-
-
-
{{#if @model.members}}
{{#if (get @model.members '0.isOIDC')}}
diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/new.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/new.hbs
index 937a52e70..79377c3d8 100644
--- a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/new.hbs
+++ b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/managed-groups/new.hbs
@@ -10,19 +10,19 @@
/>
-
-
-
-
-
-
- {{t 'resources.managed-group.titles.new'}}
-
-
-
- {{t 'resources.managed-group.description'}}
-
+
+
+
+
+
+ {{t 'resources.managed-group.titles.new'}}
+
+
+
+ {{t 'resources.managed-group.description'}}
+
+
diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs
index 33a404007..0268f9fab 100644
--- a/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs
+++ b/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs
@@ -5,42 +5,42 @@
-
- {{t 'resources.auth-method.title_plural'}}
-
-
-
- {{t 'resources.auth-method.description'}}
-
-
-
-
-
-
-
-
- {{#if (can 'create model' this.scopeModel collection='auth-methods')}}
-
-
- {{t 'resources.auth-method.types.password'}}
- {{t 'resources.auth-method.types.oidc'}}
- {{#if (feature-flag 'ldap-auth-methods')}}
-
- {{t 'resources.auth-method.types.ldap'}}
-
+
+
+
+
+
+ {{t 'resources.auth-method.title_plural'}}
+
+
+
+ {{t 'resources.auth-method.description'}}
+
+
+ {{#if (can 'create model' this.scopeModel collection='auth-methods')}}
+
+
+ {{t 'resources.auth-method.types.password'}}
+ {{t 'resources.auth-method.types.oidc'}}
+ {{#if (feature-flag 'ldap-auth-methods')}}
+
+ {{t 'resources.auth-method.types.ldap'}}
+
+ {{/if}}
+
{{/if}}
-
- {{/if}}
-
+
+
+
{{#if @model.doAuthMethodsExist}}
diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/new.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/new.hbs
index 9c5527db6..536d77161 100644
--- a/ui/admin/app/templates/scopes/scope/auth-methods/new.hbs
+++ b/ui/admin/app/templates/scopes/scope/auth-methods/new.hbs
@@ -11,19 +11,20 @@
-
- {{t 'resources.auth-method.titles.new'}}
-
-
-
- {{t 'resources.auth-method.description'}}
-
+
+
+
+
+
+ {{t 'resources.auth-method.titles.new'}}
+
+
+
+ {{t 'resources.auth-method.description'}}
+
+
-
-
-
-
-
-
-
-
-
-
- {{t 'resources.credential-library.title'}}
-
-
-
- {{t 'resources.credential-library.description'}}
-
-
+
+
+
+
+
+ {{t 'resources.credential-library.title'}}
+
+
+
+ {{t 'resources.credential-library.description'}}
+
+ {{#if (can 'delete model' @model)}}
+
+
+
+
+ {{t 'resources.credential-library.actions.delete'}}
+
+
+
+ {{/if}}
+
+
+
+
@@ -30,19 +45,6 @@
-
- {{#if (can 'delete model' @model)}}
-
-
-
- {{t 'resources.credential-library.actions.delete'}}
-
- {{/if}}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
{{#if @model}}
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs
index 613cb9900..a7b41f1e6 100644
--- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs
+++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs
@@ -10,19 +10,19 @@
/>
-
-
-
-
-
-
- {{t 'resources.credential-library.titles.new'}}
-
-
-
- {{t 'resources.credential-library.description'}}
-
+
+
+
+
+
+ {{t 'resources.credential-library.titles.new'}}
+
+
+
+ {{t 'resources.credential-library.description'}}
+
+
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/credential/index.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/credential/index.hbs
index 86d6b0552..1d1331187 100644
--- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/credential/index.hbs
+++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/credential/index.hbs
@@ -4,20 +4,33 @@
}}
-
-
-
-
-
-
- {{t 'resources.credential.title'}}
-
-
-
- {{t 'resources.credential.description'}}
-
-
+
+
+
+
+
+ {{t 'resources.credential.title'}}
+
+
+
+ {{t 'resources.credential.description'}}
+
+ {{#if (can 'delete model' @model)}}
+
+
+
+ {{t 'resources.credential.actions.delete'}}
+
+
+ {{/if}}
+
+
+
+
@@ -30,18 +43,6 @@
-
- {{#if (can 'delete model' @model)}}
-
-
- {{t 'resources.credential.actions.delete'}}
-
- {{/if}}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
{{#if @model}}
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs
index 2a061029a..ddfd8ae4f 100644
--- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs
+++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs
@@ -10,19 +10,19 @@
/>
-
-
-
-
-
-
- {{t 'resources.credential.titles.new'}}
-
-
-
- {{t 'resources.credential.description'}}
-
+
+
+
+
+
+ {{t 'resources.credential.titles.new'}}
+
+
+
+ {{t 'resources.credential.description'}}
+
+
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/edit-worker-filter.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/edit-worker-filter.hbs
index 1ccd8e74d..549ae62ad 100644
--- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/edit-worker-filter.hbs
+++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/edit-worker-filter.hbs
@@ -10,18 +10,21 @@
/>
-
-
-
-
-
- {{t 'actions.edit-worker-filter'}}
-
-
-
- {{t 'resources.credential-store.worker-filter.messages.edit.description'}}
-
+
+
+
+
+
+ {{t 'actions.edit-worker-filter'}}
+
+
+
+ {{t
+ 'resources.credential-store.worker-filter.messages.edit.description'
+ }}
+
+
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/index.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/index.hbs
index 8e918cd49..b77310e6e 100644
--- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/index.hbs
+++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/index.hbs
@@ -4,26 +4,28 @@
}}
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
{{#if @model.worker_filter}}
-
-
-
-
-
- {{t 'resources.credential-store.title_plural'}}
-
-
- {{#if @model.doCredentialStoresExist}}
-
- {{t 'resources.credential-store.description'}}
-
- {{/if}}
+
+
+
+
+
+ {{t 'resources.credential-store.title_plural'}}
+
+
+
+ {{#if @model.doCredentialStoresExist}}
+ {{t 'resources.credential-store.description'}}
+ {{/if}}
+
+
+ {{#if (can 'create model' this.scope collection='credential-stores')}}
+ {{#if @model.doCredentialStoresExist}}
+
+ {{/if}}
+ {{/if}}
+
+
-
-
- {{#if (can 'create model' this.scope collection='credential-stores')}}
- {{#if @model.doCredentialStoresExist}}
-
- {{/if}}
- {{/if}}
-
-
{{#if @model.doCredentialStoresExist}}
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs
index f75d39f4e..8924e158d 100644
--- a/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs
+++ b/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs
@@ -10,18 +10,19 @@
/>
-
-
-
-
-
- {{t 'resources.credential-store.titles.new'}}
-
-
-
- {{t 'resources.credential-store.description'}}
-
+
+
+
+
+
+ {{t 'resources.credential-store.titles.new'}}
+
+
+
+ {{t 'resources.credential-store.description'}}
+
+
diff --git a/ui/admin/app/templates/scopes/scope/edit.hbs b/ui/admin/app/templates/scopes/scope/edit.hbs
index 4a9df5175..3239ddf62 100644
--- a/ui/admin/app/templates/scopes/scope/edit.hbs
+++ b/ui/admin/app/templates/scopes/scope/edit.hbs
@@ -15,39 +15,43 @@
-
-
-
-
- {{#if @model.isGlobal}}
-
- {{t 'resources.global.title'}}
-
-
-
- {{t 'resources.global.description'}}
-
- {{/if}}
- {{#if @model.isOrg}}
-
- {{t 'resources.org.title'}}
-
-
-
- {{t 'resources.org.description'}}
-
- {{/if}}
- {{#if @model.isProject}}
-
- {{t 'resources.project.title'}}
-
-
-
- {{t 'resources.project.description'}}
-
- {{/if}}
-
+
+
+
+
+ {{#each this.scopeTypes as |scope|}}
+ {{#if (get @model scope.key)}}
+
+ {{t scope.title}}
+
+
+
+ {{t scope.description}}
+
+ {{/if}}
+ {{/each}}
+ {{#if (and (can 'delete model' @model) (not @model.isGlobal))}}
+
+
+
+ {{t
+ (if
+ @model.isOrg
+ 'resources.org.actions.delete'
+ 'resources.project.actions.delete'
+ )
+ }}
+
+
+ {{/if}}
+
+
+
+
{{#if (can 'read model' @model)}}
@@ -60,24 +64,6 @@
{{/if}}
- {{#if (and (can 'delete model' @model) (not @model.isGlobal))}}
-
-
-
- {{t
- (if
- @model.isOrg
- 'resources.org.actions.delete'
- 'resources.project.actions.delete'
- )
- }}
-
-
- {{/if}}
-
@@ -98,7 +84,7 @@
{{#if (can 'attachStoragePolicy scope' @model)}}