From 3c25033741d00d655c0a42ce526f9441dd3b3881 Mon Sep 17 00:00:00 2001 From: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com> Date: Fri, 11 Nov 2022 09:56:44 -0600 Subject: [PATCH] UI: Update tags to LinkTo's (#17866) * chore: shared external link component, glimmerization * chore: update easy a tags * chore: update other a tags * chore: lil cleanup * changelog --- changelog/17866.txt | 3 ++ .../components/database-connection.hbs | 2 +- .../templates/components/license-banners.hbs | 16 +++-------- ui/app/templates/components/link-status.hbs | 4 +-- .../templates/components/namespace-link.hbs | 9 ++++-- .../components/pki/config-pki-ca.hbs | 4 +-- .../components/raft-storage-overview.hbs | 7 +++-- .../transform-advanced-templating.hbs | 8 ++---- ui/app/templates/vault.hbs | 12 ++++---- ui/app/templates/vault/cluster/unseal.hbs | 12 +++----- ui/lib/core/addon/components/doc-link.js | 28 ++++++------------- .../core/addon/components/external-link.hbs | 9 ++++++ ui/lib/core/addon/components/external-link.js | 21 ++++++++++++++ ui/lib/core/addon/components/learn-link.js | 25 ++++++++++++++--- .../components/replication-mode-summary.hbs | 8 +++--- .../components/replication-secondary-card.hbs | 4 +-- .../templates/components/upgrade-page.hbs | 10 +++---- ui/lib/core/app/components/external-link.js | 1 + 18 files changed, 105 insertions(+), 78 deletions(-) create mode 100644 changelog/17866.txt create mode 100644 ui/lib/core/addon/components/external-link.hbs create mode 100644 ui/lib/core/addon/components/external-link.js create mode 100644 ui/lib/core/app/components/external-link.js diff --git a/changelog/17866.txt b/changelog/17866.txt new file mode 100644 index 0000000000..7e173f8de7 --- /dev/null +++ b/changelog/17866.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: consolidate all tag usage +``` \ No newline at end of file diff --git a/ui/app/templates/components/database-connection.hbs b/ui/app/templates/components/database-connection.hbs index d21d8c0a41..74d97d70f6 100644 --- a/ui/app/templates/components/database-connection.hbs +++ b/ui/app/templates/components/database-connection.hbs @@ -310,7 +310,7 @@ Go back - Documentation + Documentation {{else}} {{#each @model.showAttrs as |attr|}} diff --git a/ui/app/templates/components/license-banners.hbs b/ui/app/templates/components/license-banners.hbs index 1416290972..5e7d751318 100644 --- a/ui/app/templates/components/license-banners.hbs +++ b/ui/app/templates/components/license-banners.hbs @@ -10,13 +10,9 @@ }}. Add a new license to your configuration and restart Vault." @marginless={{true}} > - + Read documentation - + {{else if (lte this.licenseExpiringInDays 30)}} @@ -35,13 +31,9 @@ }}" @marginless={{true}} > - + Read documentation - + {{/if}} \ No newline at end of file diff --git a/ui/app/templates/components/link-status.hbs b/ui/app/templates/components/link-status.hbs index 2ff89bd0dc..5bd005a08a 100644 --- a/ui/app/templates/components/link-status.hbs +++ b/ui/app/templates/components/link-status.hbs @@ -4,9 +4,9 @@

{{#if (eq this.state "connected")}} This self-managed Vault is linked to - + HCP. - + {{else}} There was an error connecting to HCP. Click