From ac890b8cda5f5db942aad2b0b37d96f7e536c4e6 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Tue, 19 Mar 2019 15:22:02 -0400 Subject: [PATCH] don't show code-mirror tooltip icon if no tooltip provided --- .../client/lib/components/code-mirror/code-mirror.partial.html | 3 ++- .../shared/ansible-facts/ansible-facts.partial.html | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/lib/components/code-mirror/code-mirror.partial.html b/awx/ui/client/lib/components/code-mirror/code-mirror.partial.html index 018d868b64..4253f29a21 100644 --- a/awx/ui/client/lib/components/code-mirror/code-mirror.partial.html +++ b/awx/ui/client/lib/components/code-mirror/code-mirror.partial.html @@ -13,7 +13,8 @@ class="help-link" data-original-title="{{ label || vm.strings.get('code_mirror.label.VARIABLES') }}" title="{{ label || vm.strings.get('code_mirror.label.VARIABLES') }}" - tabindex="-1"> + tabindex="-1" + ng-if="tooltip">
diff --git a/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.partial.html b/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.partial.html index 23f0891f0f..7976a5cb5d 100644 --- a/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.partial.html +++ b/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.partial.html @@ -6,7 +6,6 @@ class="Form-textArea Form-formGroup--fullWidth" label="facts" variables="facts" - tooltip="" disabled="true" >