chore: 🤖 improve host-catalogs/new titling - icu-6720 (#1417)

✅ Closes: icu-6720
This commit is contained in:
Randall Morey authored and GitHub committed 2022-11-06 18:12:38 -08:00
1 parent ee3c550809
commit 2360c4124c
4 files changed
+18 -2

No files matched your search

@@ -87,6 +87,8 @@ host-catalog:
messages:
welcome:
title: Welcome to Host Catalogs
titles:
new: New Host Catalog
actions:
delete: Delete Host Catalog
help:
@@ -1,7 +1,20 @@
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default class ScopesScopeHostCatalogsNewController extends Controller {
// =services
@service intl;
// =attributes
queryParams = ['type'];
/**
* Translated roles breadcrumb
* @type {string}
*/
get breadCrumb() {
return this.intl.t('resources.host-catalog.titles.new');
}
}
@@ -21,7 +21,7 @@
@route='scopes.scope.host-catalogs.new'
@style='primary'
>
{{t 'titles.new'}}
{{t 'resources.host-catalog.titles.new'}}
</Rose::LinkButton>
{{/if}}
{{/if}}
@@ -8,9 +8,10 @@
<page.header>
<h2>
{{t 'titles.new'}}
{{t 'resources.host-catalog.titles.new'}}
<DocLink @doc='host-catalog.new' @iconSize='large' />
</h2>
<p>{{t 'resources.host-catalog.description'}}</p>
</page.header>
<page.body>