From b8404abb2633f585ff46aa83d72beeb096fd4957 Mon Sep 17 00:00:00 2001 From: kialam Date: Mon, 4 Jun 2018 12:32:54 -0400 Subject: [PATCH] Rename credential tooltip component string - For better legibility --- awx/ui/client/lib/components/components.strings.js | 2 +- awx/ui/client/lib/services/tag.service.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/lib/components/components.strings.js b/awx/ui/client/lib/components/components.strings.js index 1be3891669..a56ea9854d 100644 --- a/awx/ui/client/lib/components/components.strings.js +++ b/awx/ui/client/lib/components/components.strings.js @@ -58,7 +58,7 @@ function ComponentsStrings (BaseString) { }; ns.tooltips = { - CREDENTIAL: t.s('View the Credential'), + VIEW_THE_CREDENTIAL: t.s('View the Credential'), }; ns.layout = { diff --git a/awx/ui/client/lib/services/tag.service.js b/awx/ui/client/lib/services/tag.service.js index be1a84dbe3..22bdf45ae2 100644 --- a/awx/ui/client/lib/services/tag.service.js +++ b/awx/ui/client/lib/services/tag.service.js @@ -2,12 +2,12 @@ function TagService (strings, $filter) { this.buildCredentialTag = (credential) => { const icon = `${credential.kind}`; const link = `/#/credentials/${credential.id}`; - const tooltip = strings.get('tooltips.CREDENTIAL'); + const tooltip = strings.get('tooltips.VIEW_THE_CREDENTIAL'); const value = $filter('sanitize')(credential.name); return { icon, link, tooltip, value }; }; - this.buildTag = tag => { + this.buildTag = (tag) => { const value = $filter('sanitize')(tag); return { value };