summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ui/ipa.css1
-rw-r--r--install/ui/src/freeipa/widget.js7
2 files changed, 6 insertions, 2 deletions
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index d6f2f367e..a7c5ab8a9 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -260,6 +260,7 @@ div[name=settings].facet-group li a {
.action-button-disabled:hover {
color: gray;
cursor: default;
+ text-decoration: none;
outline: none;
}
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index 39b1192ef..d4c9cb366 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -3979,14 +3979,17 @@ IPA.button = function(spec) {
if (spec.type) button.addClass(spec.type);
+ var label = text.get(spec.label);
+
if (spec.icon) {
$('<i/>', {
'class': 'fa '+spec.icon
}).appendTo(button);
+ if (label) label = " " + label ;
}
- if (spec.label) {
- button.append(text.get(spec.label));
+ if (label) {
+ button.append(label);
}
return button;