diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/-actions.hbs b/ui/admin/app/components/credential-stores/credential-store/actions/index.hbs
similarity index 100%
rename from ui/admin/app/templates/scopes/scope/credential-stores/credential-store/-actions.hbs
rename to ui/admin/app/components/credential-stores/credential-store/actions/index.hbs
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/-header.hbs b/ui/admin/app/components/credential-stores/credential-store/header/index.hbs
similarity index 100%
rename from ui/admin/app/templates/scopes/scope/credential-stores/credential-store/-header.hbs
rename to ui/admin/app/components/credential-stores/credential-store/header/index.hbs
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/-navigation.hbs b/ui/admin/app/components/credential-stores/credential-store/nav/index.hbs
similarity index 100%
rename from ui/admin/app/templates/scopes/scope/credential-stores/credential-store/-navigation.hbs
rename to ui/admin/app/components/credential-stores/credential-store/nav/index.hbs
diff --git a/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credential-libraries/credential-library.js b/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credential-libraries/credential-library.js
new file mode 100644
index 000000000..ec222f462
--- /dev/null
+++ b/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credential-libraries/credential-library.js
@@ -0,0 +1,13 @@
+import Controller from '@ember/controller';
+
+export default class ScopesScopeCredentialStoresCredentialStoreCredentialLibrariesCredentialLibraryController extends Controller {
+ // =attributes
+
+ /**
+ * A model breadcrumb
+ * @type {string}
+ */
+ get breadCrumb() {
+ return this.model.displayName;
+ }
+}
diff --git a/ui/admin/app/controllers/scopes/scope/credential-stores/new.js b/ui/admin/app/controllers/scopes/scope/credential-stores/new.js
new file mode 100644
index 000000000..3f50abb13
--- /dev/null
+++ b/ui/admin/app/controllers/scopes/scope/credential-stores/new.js
@@ -0,0 +1,18 @@
+import Controller from '@ember/controller';
+import { inject as service } from '@ember/service';
+
+export default class ScopesScopeCredentialStoresNewController extends Controller {
+ // =services
+
+ @service intl;
+
+ // =attributes
+
+ /**
+ * Breadcrumb for new route
+ * @type {string}
+ */
+ get breadCrumb() {
+ return this.intl.t('titles.new');
+ }
+}
diff --git a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store.js b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store.js
index 046b8a01c..e995f11b0 100644
--- a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store.js
+++ b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store.js
@@ -8,27 +8,4 @@ export default class ScopesScopeCredentialStoresCredentialStoreRoute extends Rou
async model({ credential_store_id }) {
return this.store.findRecord('credential-store', credential_store_id);
}
-
- /**
- * Render credential store header, navigation and actions page sections.
- * @override
- */
- renderTemplate() {
- super.renderTemplate(...arguments);
-
- this.render('scopes/scope/credential-stores/credential-store/-header', {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'header',
- });
-
- this.render('scopes/scope/credential-stores/credential-store/-navigation', {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'navigation',
- });
-
- this.render('scopes/scope/credential-stores/credential-store/-actions', {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'actions',
- });
- }
}
diff --git a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries.js b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries.js
index a8f8db78a..09eec86c6 100644
--- a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries.js
+++ b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries.js
@@ -81,7 +81,7 @@ export default class ScopesScopeCredentialStoresCredentialStoreCredentialLibrari
@confirm('questions.delete-confirm')
@notifyError(({ message }) => message, { catch: true })
@notifySuccess('notifications.delete-success')
- async delete(credentialLibrary) {
+ async deleteCredentialLibrary(credentialLibrary) {
await credentialLibrary.destroyRecord();
await this.router.replaceWith(
'scopes.scope.credential-stores.credential-store.credential-libraries'
diff --git a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/credential-library.js b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/credential-library.js
index 45f5953fb..00b935f23 100644
--- a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/credential-library.js
+++ b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/credential-library.js
@@ -14,36 +14,4 @@ export default class ScopesScopeCredentialStoresCredentialStoreCredentialLibrari
reload: true,
});
}
-
- /**
- * Renders the credential library specific templates for header, navigation, and action page sections.
- * @override
- */
- renderTemplate() {
- super.renderTemplate(...arguments);
-
- this.render(
- 'scopes/scope/credential-stores/credential-store/credential-libraries/credential-library/-header',
- {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'header',
- }
- );
-
- this.render(
- 'scopes/scope/credential-stores/credential-store/credential-libraries/credential-library/-navigation',
- {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'navigation',
- }
- );
-
- this.render(
- 'scopes/scope/credential-stores/credential-store/credential-libraries/credential-library/-actions',
- {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'actions',
- }
- );
- }
}
diff --git a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/new.js b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/new.js
index c9ccc770c..d6c3db15b 100644
--- a/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/new.js
+++ b/ui/admin/app/routes/scopes/scope/credential-stores/credential-store/credential-libraries/new.js
@@ -16,31 +16,4 @@ export default class ScopesScopeCredentialStoresCredentialStoreCredentialLibrari
credential_store_id,
});
}
-
- /**
- * Renders new credential library specific templates for header, navigation,
- * and action page sections.
- * @override
- */
- renderTemplate() {
- super.renderTemplate(...arguments);
-
- this.render(
- 'scopes/scope/credential-stores/credential-store/credential-libraries/new/-header',
- {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'header',
- }
- );
-
- this.render('_empty', {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'navigation',
- });
-
- this.render('_empty', {
- into: 'scopes/scope/credential-stores/credential-store',
- outlet: 'actions',
- });
- }
}
diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store.hbs
index efc46641a..7d32ecb0d 100644
--- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store.hbs
+++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store.hbs
@@ -1,24 +1,3 @@
{{page-title @model.displayName}}
-
{{t 'resources.credential-library.description'}}
-{{@model.id}}
-{{t 'resources.credential-library.description'}}
+{{@model.id}}
+ {{credentialLibrary.description}}
-{{credentialLibrary.id}}
- {{credentialLibrary.description}}
+{{credentialLibrary.id}}
+