From 16e3e13ccac5744a5b7ab0d7dc501f99380bcca1 Mon Sep 17 00:00:00 2001 From: Allen Wight Date: Thu, 29 Nov 2018 08:02:13 -0500 Subject: [PATCH] Merge pull request #1506 from himdel/bz1653193-custom-nodisplay BZ#1653193 - Custom buttons - only show button name when the "Display on Button" option is set (cherry picked from commit 71856b008316b30db734b620f729e2f3f5f0f8d7) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1655772 --- client/app/services/custom-button/custom-button.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/app/services/custom-button/custom-button.html b/client/app/services/custom-button/custom-button.html index 8388d12c8..4c6d2f4f0 100644 --- a/client/app/services/custom-button/custom-button.html +++ b/client/app/services/custom-button/custom-button.html @@ -6,7 +6,9 @@ ng-disabled="!button.enabled" ng-click="vm.invokeCustomAction(button)"> - {{ button.name }} + + {{ button.name }} + @@ -32,7 +34,9 @@ uib-tooltip="{{ button.enabled ? button.description : button.disabled_text }}" tooltip-placement="left"> - {{ button.name }} + + {{ button.name }} +