From 664f1d9aa5458c458868df48ec37ed268b7df734 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Wed, 18 Nov 2020 11:11:30 +0000 Subject: [PATCH] ui: Change title helper to page-title (#9211) --- ui/packages/consul-ui/app/templates/application.hbs | 2 +- .../consul-ui/app/templates/dc/acls/policies/edit.hbs | 6 +++--- .../consul-ui/app/templates/dc/acls/policies/index.hbs | 4 ++-- ui/packages/consul-ui/app/templates/dc/acls/roles/edit.hbs | 6 +++--- ui/packages/consul-ui/app/templates/dc/acls/roles/index.hbs | 4 ++-- ui/packages/consul-ui/app/templates/dc/acls/tokens/edit.hbs | 6 +++--- .../consul-ui/app/templates/dc/acls/tokens/index.hbs | 4 ++-- ui/packages/consul-ui/app/templates/dc/intentions/edit.hbs | 4 ++-- ui/packages/consul-ui/app/templates/dc/intentions/index.hbs | 2 +- ui/packages/consul-ui/app/templates/dc/kv/edit.hbs | 4 ++-- ui/packages/consul-ui/app/templates/dc/kv/index.hbs | 2 +- ui/packages/consul-ui/app/templates/dc/nodes/index.hbs | 2 +- ui/packages/consul-ui/app/templates/dc/nodes/show.hbs | 2 +- ui/packages/consul-ui/app/templates/dc/nspaces/edit.hbs | 4 ++-- ui/packages/consul-ui/app/templates/dc/nspaces/index.hbs | 2 +- ui/packages/consul-ui/app/templates/dc/services/index.hbs | 2 +- .../consul-ui/app/templates/dc/services/instance.hbs | 2 +- ui/packages/consul-ui/app/templates/dc/services/show.hbs | 2 +- ui/packages/consul-ui/app/templates/settings.hbs | 2 +- 19 files changed, 31 insertions(+), 31 deletions(-) diff --git a/ui/packages/consul-ui/app/templates/application.hbs b/ui/packages/consul-ui/app/templates/application.hbs index 24ff2b9ada..c19a304e2e 100644 --- a/ui/packages/consul-ui/app/templates/application.hbs +++ b/ui/packages/consul-ui/app/templates/application.hbs @@ -1,5 +1,5 @@ -{{title 'Consul' separator=' - '}} +{{page-title 'Consul' separator=' - '}} {{#if (not-eq router.currentRouteName 'application')}} diff --git a/ui/packages/consul-ui/app/templates/dc/intentions/index.hbs b/ui/packages/consul-ui/app/templates/dc/intentions/index.hbs index b3657f6a68..07926611b5 100644 --- a/ui/packages/consul-ui/app/templates/dc/intentions/index.hbs +++ b/ui/packages/consul-ui/app/templates/dc/intentions/index.hbs @@ -1,4 +1,4 @@ -{{title 'Intentions'}} +{{page-title 'Intentions'}} diff --git a/ui/packages/consul-ui/app/templates/dc/kv/edit.hbs b/ui/packages/consul-ui/app/templates/dc/kv/edit.hbs index 59a89c43bc..03ea5661e9 100644 --- a/ui/packages/consul-ui/app/templates/dc/kv/edit.hbs +++ b/ui/packages/consul-ui/app/templates/dc/kv/edit.hbs @@ -1,7 +1,7 @@ {{#if item.Key }} - {{title 'Edit Key/Value'}} + {{page-title 'Edit Key/Value'}} {{else}} - {{title 'New Key/Value'}} + {{page-title 'New Key/Value'}} {{/if}} diff --git a/ui/packages/consul-ui/app/templates/dc/kv/index.hbs b/ui/packages/consul-ui/app/templates/dc/kv/index.hbs index f42a1f59ab..38b882b8e1 100644 --- a/ui/packages/consul-ui/app/templates/dc/kv/index.hbs +++ b/ui/packages/consul-ui/app/templates/dc/kv/index.hbs @@ -1,4 +1,4 @@ -{{title 'Key/Value'}} +{{page-title 'Key/Value'}} {{#let (or sortBy "isFolder:asc") as |sort|}} diff --git a/ui/packages/consul-ui/app/templates/dc/nodes/index.hbs b/ui/packages/consul-ui/app/templates/dc/nodes/index.hbs index ccff471e35..b68347a816 100644 --- a/ui/packages/consul-ui/app/templates/dc/nodes/index.hbs +++ b/ui/packages/consul-ui/app/templates/dc/nodes/index.hbs @@ -1,4 +1,4 @@ -{{title 'Nodes'}} +{{page-title 'Nodes'}} {{#let (hash diff --git a/ui/packages/consul-ui/app/templates/dc/nodes/show.hbs b/ui/packages/consul-ui/app/templates/dc/nodes/show.hbs index 5f12fbc795..80f48562c2 100644 --- a/ui/packages/consul-ui/app/templates/dc/nodes/show.hbs +++ b/ui/packages/consul-ui/app/templates/dc/nodes/show.hbs @@ -1,4 +1,4 @@ -{{title item.Node}} +{{page-title item.Node}} diff --git a/ui/packages/consul-ui/app/templates/dc/nspaces/edit.hbs b/ui/packages/consul-ui/app/templates/dc/nspaces/edit.hbs index 72bdd234d0..bf2a5eab65 100644 --- a/ui/packages/consul-ui/app/templates/dc/nspaces/edit.hbs +++ b/ui/packages/consul-ui/app/templates/dc/nspaces/edit.hbs @@ -1,7 +1,7 @@ {{#if create }} - {{title 'New Namespace'}} + {{page-title 'New Namespace'}} {{else}} - {{title 'Edit Namespace'}} + {{page-title 'Edit Namespace'}} {{/if}} diff --git a/ui/packages/consul-ui/app/templates/dc/nspaces/index.hbs b/ui/packages/consul-ui/app/templates/dc/nspaces/index.hbs index 32bd2627a1..5abe5a8a34 100644 --- a/ui/packages/consul-ui/app/templates/dc/nspaces/index.hbs +++ b/ui/packages/consul-ui/app/templates/dc/nspaces/index.hbs @@ -1,4 +1,4 @@ -{{title 'Namespaces'}} +{{page-title 'Namespaces'}} {{#let (or sortBy "Name:asc") as |sort|}} diff --git a/ui/packages/consul-ui/app/templates/dc/services/index.hbs b/ui/packages/consul-ui/app/templates/dc/services/index.hbs index 53e5747c87..b2ebf4f23d 100644 --- a/ui/packages/consul-ui/app/templates/dc/services/index.hbs +++ b/ui/packages/consul-ui/app/templates/dc/services/index.hbs @@ -1,4 +1,4 @@ -{{title 'Services'}} +{{page-title 'Services'}} {{#let (hash statuses=(if status (split status ',') undefined) diff --git a/ui/packages/consul-ui/app/templates/dc/services/instance.hbs b/ui/packages/consul-ui/app/templates/dc/services/instance.hbs index 2bf7bb194b..bddb962723 100644 --- a/ui/packages/consul-ui/app/templates/dc/services/instance.hbs +++ b/ui/packages/consul-ui/app/templates/dc/services/instance.hbs @@ -1,4 +1,4 @@ -{{title item.Service.ID}} +{{page-title item.Service.ID}} diff --git a/ui/packages/consul-ui/app/templates/dc/services/show.hbs b/ui/packages/consul-ui/app/templates/dc/services/show.hbs index c5f454158f..a051e3cafe 100644 --- a/ui/packages/consul-ui/app/templates/dc/services/show.hbs +++ b/ui/packages/consul-ui/app/templates/dc/services/show.hbs @@ -4,7 +4,7 @@ -{{title item.Service.Service}} +{{page-title item.Service.Service}}