From d531652aec0342088ef471c7332bb7c78c140000 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Mon, 16 Nov 2020 14:57:42 -0500 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20upgrade=20page-title=20?= =?UTF-8?q?syntax=20and=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/templates/account/change-password.hbs | 2 +- ui/core/app/templates/application.hbs | 3 +- ui/core/app/templates/scopes/scope.hbs | 12 ++-- .../templates/scopes/scope/auth-methods.hbs | 2 +- .../scopes/scope/auth-methods/auth-method.hbs | 2 +- .../auth-methods/auth-method/accounts.hbs | 2 +- .../auth-method/accounts/account.hbs | 2 +- .../accounts/account/set-password.hbs | 2 +- .../scopes/scope/auth-methods/new.hbs | 4 +- .../templates/scopes/scope/authenticate.hbs | 2 +- ui/core/app/templates/scopes/scope/error.hbs | 2 +- ui/core/app/templates/scopes/scope/groups.hbs | 2 +- .../templates/scopes/scope/groups/group.hbs | 2 +- .../scopes/scope/groups/group/add-members.hbs | 2 +- .../scopes/scope/groups/group/members.hbs | 2 +- .../app/templates/scopes/scope/groups/new.hbs | 2 +- .../templates/scopes/scope/host-catalogs.hbs | 2 +- .../scope/host-catalogs/host-catalog.hbs | 2 +- .../host-catalogs/host-catalog/host-sets.hbs | 2 +- .../host-catalog/host-sets/host-set.hbs | 2 +- .../host-sets/host-set/add-hosts.hbs | 2 +- .../host-set/create-and-add-host.hbs | 2 +- .../host-catalog/host-sets/host-set/hosts.hbs | 2 +- .../host-catalog/host-sets/new.hbs | 2 +- .../host-catalogs/host-catalog/hosts.hbs | 2 +- .../host-catalogs/host-catalog/hosts/host.hbs | 2 +- .../host-catalogs/host-catalog/hosts/new.hbs | 2 +- .../scopes/scope/host-catalogs/new.hbs | 2 +- ui/core/app/templates/scopes/scope/new.hbs | 2 +- ui/core/app/templates/scopes/scope/roles.hbs | 2 +- .../app/templates/scopes/scope/roles/new.hbs | 2 +- .../app/templates/scopes/scope/roles/role.hbs | 2 +- .../scope/roles/role/add-principals.hbs | 2 +- .../scopes/scope/roles/role/grants.hbs | 2 +- .../scopes/scope/roles/role/principals.hbs | 4 +- ui/core/app/templates/scopes/scope/scopes.hbs | 4 +- .../app/templates/scopes/scope/sessions.hbs | 2 +- .../app/templates/scopes/scope/targets.hbs | 2 +- .../templates/scopes/scope/targets/new.hbs | 2 +- .../templates/scopes/scope/targets/target.hbs | 2 +- .../scope/targets/target/add-host-sets.hbs | 2 +- .../scopes/scope/targets/target/host-sets.hbs | 2 +- ui/core/app/templates/scopes/scope/users.hbs | 2 +- .../app/templates/scopes/scope/users/new.hbs | 2 +- .../app/templates/scopes/scope/users/user.hbs | 2 +- .../scopes/scope/users/user/accounts.hbs | 2 +- .../scopes/scope/users/user/add-accounts.hbs | 2 +- ui/core/package.json | 2 +- yarn.lock | 57 ++----------------- 49 files changed, 62 insertions(+), 108 deletions(-) diff --git a/ui/core/app/templates/account/change-password.hbs b/ui/core/app/templates/account/change-password.hbs index 5fc40fb52..4f5dc25fb 100644 --- a/ui/core/app/templates/account/change-password.hbs +++ b/ui/core/app/templates/account/change-password.hbs @@ -1,4 +1,4 @@ -{{title (t "actions.change-password")}} +{{page-title (t "actions.change-password")}} diff --git a/ui/core/app/templates/application.hbs b/ui/core/app/templates/application.hbs index 4602a5bd3..2b9175a76 100644 --- a/ui/core/app/templates/application.hbs +++ b/ui/core/app/templates/application.hbs @@ -1,5 +1,4 @@ - -{{title (app-name)}} +{{page-title (app-name)}} diff --git a/ui/core/app/templates/scopes/scope.hbs b/ui/core/app/templates/scopes/scope.hbs index 278755d24..07943d64f 100644 --- a/ui/core/app/templates/scopes/scope.hbs +++ b/ui/core/app/templates/scopes/scope.hbs @@ -1,13 +1,13 @@ {{#if @model.isOrg}} - {{title (t "resources.org.title_plural") }} - {{title @model.displayName}} + {{page-title (t "resources.org.title_plural") }} + {{page-title @model.displayName}} {{/if}} {{#if @model.isProject}} - {{title (t "resources.org.title_plural") }} - {{title this.scopes.selectedOrg.displayName}} - {{title (t "resources.project.title_plural") }} - {{title @model.displayName}} + {{page-title (t "resources.org.title_plural") }} + {{page-title this.scopes.selectedOrg.displayName}} + {{page-title (t "resources.project.title_plural") }} + {{page-title @model.displayName}} {{/if}} diff --git a/ui/core/app/templates/scopes/scope/auth-methods.hbs b/ui/core/app/templates/scopes/scope/auth-methods.hbs index fb4d78b4a..7dfce0f30 100644 --- a/ui/core/app/templates/scopes/scope/auth-methods.hbs +++ b/ui/core/app/templates/scopes/scope/auth-methods.hbs @@ -1,3 +1,3 @@ -{{title (t "resources.auth-method.title_plural")}} +{{page-title (t "resources.auth-method.title_plural")}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/auth-methods/auth-method.hbs b/ui/core/app/templates/scopes/scope/auth-methods/auth-method.hbs index 2a878ff51..016b284ad 100644 --- a/ui/core/app/templates/scopes/scope/auth-methods/auth-method.hbs +++ b/ui/core/app/templates/scopes/scope/auth-methods/auth-method.hbs @@ -1,4 +1,4 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} diff --git a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts.hbs b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts.hbs index fe5b0c9ee..6ec5213a6 100644 --- a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts.hbs +++ b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts.hbs @@ -1,3 +1,3 @@ -{{title (t 'resources.account.title_plural')}} +{{page-title (t 'resources.account.title_plural')}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account.hbs b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account.hbs index d66e83390..fdb14a71f 100644 --- a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account.hbs +++ b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account.hbs @@ -1,3 +1,3 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account/set-password.hbs b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account/set-password.hbs index 315877a6f..7d9679ccc 100644 --- a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account/set-password.hbs +++ b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/account/set-password.hbs @@ -1,4 +1,4 @@ -{{title (t 'actions.set-password')}} +{{page-title (t 'actions.set-password')}} @@ -16,4 +16,4 @@ @cancel={{route-action "cancel" @model}} /> - \ No newline at end of file + diff --git a/ui/core/app/templates/scopes/scope/authenticate.hbs b/ui/core/app/templates/scopes/scope/authenticate.hbs index ccabf58d4..68d98634c 100644 --- a/ui/core/app/templates/scopes/scope/authenticate.hbs +++ b/ui/core/app/templates/scopes/scope/authenticate.hbs @@ -1,4 +1,4 @@ -{{title (t "actions.authenticate")}} +{{page-title (t "actions.authenticate")}} diff --git a/ui/core/app/templates/scopes/scope/error.hbs b/ui/core/app/templates/scopes/scope/error.hbs index 70b0ce6ad..4b50d06f4 100644 --- a/ui/core/app/templates/scopes/scope/error.hbs +++ b/ui/core/app/templates/scopes/scope/error.hbs @@ -1,4 +1,4 @@ -{{title (t "errors.generic.title") }} +{{page-title (t "errors.generic.title") }} {{#each @model.errors as |error|}} diff --git a/ui/core/app/templates/scopes/scope/groups.hbs b/ui/core/app/templates/scopes/scope/groups.hbs index 14f6b8561..0313da973 100644 --- a/ui/core/app/templates/scopes/scope/groups.hbs +++ b/ui/core/app/templates/scopes/scope/groups.hbs @@ -1,3 +1,3 @@ -{{title (t "resources.group.title_plural")}} +{{page-title (t "resources.group.title_plural")}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/groups/group.hbs b/ui/core/app/templates/scopes/scope/groups/group.hbs index 2a878ff51..016b284ad 100644 --- a/ui/core/app/templates/scopes/scope/groups/group.hbs +++ b/ui/core/app/templates/scopes/scope/groups/group.hbs @@ -1,4 +1,4 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} diff --git a/ui/core/app/templates/scopes/scope/groups/group/add-members.hbs b/ui/core/app/templates/scopes/scope/groups/group/add-members.hbs index 0981d22d7..65383a92f 100644 --- a/ui/core/app/templates/scopes/scope/groups/group/add-members.hbs +++ b/ui/core/app/templates/scopes/scope/groups/group/add-members.hbs @@ -1,4 +1,4 @@ -{{title (t "resources.group.messages.add-members.title")}} +{{page-title (t "resources.group.messages.add-members.title")}} diff --git a/ui/core/app/templates/scopes/scope/host-catalogs.hbs b/ui/core/app/templates/scopes/scope/host-catalogs.hbs index abbb6702e..014ec91ff 100644 --- a/ui/core/app/templates/scopes/scope/host-catalogs.hbs +++ b/ui/core/app/templates/scopes/scope/host-catalogs.hbs @@ -1,3 +1,3 @@ -{{title (t "resources.host-catalog.title_plural")}} +{{page-title (t "resources.host-catalog.title_plural")}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog.hbs b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog.hbs index 271a98d73..03cf768df 100644 --- a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog.hbs +++ b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog.hbs @@ -1,4 +1,4 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} diff --git a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets.hbs b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets.hbs index 031f2510b..7687e031a 100644 --- a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets.hbs +++ b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets.hbs @@ -1,3 +1,3 @@ -{{title (t "resources.host-set.title_plural")}} +{{page-title (t "resources.host-set.title_plural")}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set.hbs b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set.hbs index d66e83390..fdb14a71f 100644 --- a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set.hbs +++ b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set.hbs @@ -1,3 +1,3 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/add-hosts.hbs b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/add-hosts.hbs index b185f9550..4b84cd7f8 100644 --- a/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/add-hosts.hbs +++ b/ui/core/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/add-hosts.hbs @@ -1,4 +1,4 @@ -{{title (t "resources.host-set.actions.add-hosts")}} +{{page-title (t "resources.host-set.actions.add-hosts")}} diff --git a/ui/core/app/templates/scopes/scope/new.hbs b/ui/core/app/templates/scopes/scope/new.hbs index b33c28109..4718f24e8 100644 --- a/ui/core/app/templates/scopes/scope/new.hbs +++ b/ui/core/app/templates/scopes/scope/new.hbs @@ -1,4 +1,4 @@ -{{title (t 'titles.new')}} +{{page-title (t 'titles.new')}} diff --git a/ui/core/app/templates/scopes/scope/roles.hbs b/ui/core/app/templates/scopes/scope/roles.hbs index 05a8f7a37..ad3b5c1c1 100644 --- a/ui/core/app/templates/scopes/scope/roles.hbs +++ b/ui/core/app/templates/scopes/scope/roles.hbs @@ -1,3 +1,3 @@ -{{title (t "resources.role.title_plural")}} +{{page-title (t "resources.role.title_plural")}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/roles/new.hbs b/ui/core/app/templates/scopes/scope/roles/new.hbs index efddd8fb9..0d074a456 100644 --- a/ui/core/app/templates/scopes/scope/roles/new.hbs +++ b/ui/core/app/templates/scopes/scope/roles/new.hbs @@ -1,4 +1,4 @@ -{{title (t 'titles.new')}} +{{page-title (t 'titles.new')}} diff --git a/ui/core/app/templates/scopes/scope/roles/role.hbs b/ui/core/app/templates/scopes/scope/roles/role.hbs index 271a98d73..03cf768df 100644 --- a/ui/core/app/templates/scopes/scope/roles/role.hbs +++ b/ui/core/app/templates/scopes/scope/roles/role.hbs @@ -1,4 +1,4 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} diff --git a/ui/core/app/templates/scopes/scope/roles/role/add-principals.hbs b/ui/core/app/templates/scopes/scope/roles/role/add-principals.hbs index afe17ef59..b2da50ea6 100644 --- a/ui/core/app/templates/scopes/scope/roles/role/add-principals.hbs +++ b/ui/core/app/templates/scopes/scope/roles/role/add-principals.hbs @@ -1,4 +1,4 @@ -{{title (t "resources.role.principal.actions.add-principals")}} +{{page-title (t "resources.role.principal.actions.add-principals")}} -{{/if}} \ No newline at end of file +{{/if}} diff --git a/ui/core/app/templates/scopes/scope/scopes.hbs b/ui/core/app/templates/scopes/scope/scopes.hbs index ef0177922..91975612e 100644 --- a/ui/core/app/templates/scopes/scope/scopes.hbs +++ b/ui/core/app/templates/scopes/scope/scopes.hbs @@ -1,9 +1,9 @@ {{#if @model.currentScope.isGlobal}} - {{title (t "resources.org.title_plural") }} + {{page-title (t "resources.org.title_plural") }} {{/if}} {{#if @model.currentScope.isOrg}} - {{title (t "resources.project.title_plural") }} + {{page-title (t "resources.project.title_plural") }} {{/if}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/sessions.hbs b/ui/core/app/templates/scopes/scope/sessions.hbs index f7ffb23d4..41222bd30 100644 --- a/ui/core/app/templates/scopes/scope/sessions.hbs +++ b/ui/core/app/templates/scopes/scope/sessions.hbs @@ -1,3 +1,3 @@ -{{title (t "resources.session.title_plural")}} +{{page-title (t "resources.session.title_plural")}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/targets.hbs b/ui/core/app/templates/scopes/scope/targets.hbs index 8b5774916..1cb39a182 100644 --- a/ui/core/app/templates/scopes/scope/targets.hbs +++ b/ui/core/app/templates/scopes/scope/targets.hbs @@ -1,3 +1,3 @@ -{{title (t "resources.target.title_plural")}} +{{page-title (t "resources.target.title_plural")}} {{outlet}} diff --git a/ui/core/app/templates/scopes/scope/targets/new.hbs b/ui/core/app/templates/scopes/scope/targets/new.hbs index f161f252b..24d1fb28a 100644 --- a/ui/core/app/templates/scopes/scope/targets/new.hbs +++ b/ui/core/app/templates/scopes/scope/targets/new.hbs @@ -1,4 +1,4 @@ -{{title (t 'titles.new')}} +{{page-title (t 'titles.new')}} diff --git a/ui/core/app/templates/scopes/scope/targets/target.hbs b/ui/core/app/templates/scopes/scope/targets/target.hbs index 2a878ff51..016b284ad 100644 --- a/ui/core/app/templates/scopes/scope/targets/target.hbs +++ b/ui/core/app/templates/scopes/scope/targets/target.hbs @@ -1,4 +1,4 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} diff --git a/ui/core/app/templates/scopes/scope/targets/target/add-host-sets.hbs b/ui/core/app/templates/scopes/scope/targets/target/add-host-sets.hbs index e214aa895..450ca7763 100644 --- a/ui/core/app/templates/scopes/scope/targets/target/add-host-sets.hbs +++ b/ui/core/app/templates/scopes/scope/targets/target/add-host-sets.hbs @@ -1,4 +1,4 @@ -{{title (t 'resources.target.actions.add-host-sets')}} +{{page-title (t 'resources.target.actions.add-host-sets')}} {{#if @model.hostSets}} diff --git a/ui/core/app/templates/scopes/scope/users/user.hbs b/ui/core/app/templates/scopes/scope/users/user.hbs index 2a878ff51..016b284ad 100644 --- a/ui/core/app/templates/scopes/scope/users/user.hbs +++ b/ui/core/app/templates/scopes/scope/users/user.hbs @@ -1,4 +1,4 @@ -{{title @model.displayName}} +{{page-title @model.displayName}} diff --git a/ui/core/app/templates/scopes/scope/users/user/accounts.hbs b/ui/core/app/templates/scopes/scope/users/user/accounts.hbs index 176510da9..46c571982 100644 --- a/ui/core/app/templates/scopes/scope/users/user/accounts.hbs +++ b/ui/core/app/templates/scopes/scope/users/user/accounts.hbs @@ -1,4 +1,4 @@ -{{title (t 'resources.user.messages.accounts.title')}} +{{page-title (t 'resources.user.messages.accounts.title')}} {{#if @model.accounts}} diff --git a/ui/core/app/templates/scopes/scope/users/user/add-accounts.hbs b/ui/core/app/templates/scopes/scope/users/user/add-accounts.hbs index eea2fb88d..fd8020126 100644 --- a/ui/core/app/templates/scopes/scope/users/user/add-accounts.hbs +++ b/ui/core/app/templates/scopes/scope/users/user/add-accounts.hbs @@ -1,4 +1,4 @@ -{{title (t 'resources.user.actions.add-accounts')}} +{{page-title (t 'resources.user.actions.add-accounts')}} {{#if @model.accounts}}