summaryrefslogtreecommitdiffstats
path: root/install/ui/src
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-05-13 15:24:18 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-06-10 10:23:29 +0200
commit29f60931e2bee750e5acdf7bead5ed3b21d7e4d5 (patch)
treeb3f97c2bd400d58f55e01268163a2eb646350eba /install/ui/src
parent05a917eb17d7c99338dcb972470f15d9d83b37b4 (diff)
webui: association adder dialog - change find label to filter
also add filter placeholder Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/src')
-rw-r--r--install/ui/src/freeipa/dialog.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/dialog.js b/install/ui/src/freeipa/dialog.js
index 7b156cfdf..f71f23bb0 100644
--- a/install/ui/src/freeipa/dialog.js
+++ b/install/ui/src/freeipa/dialog.js
@@ -763,10 +763,15 @@ IPA.adder_dialog = function(spec) {
'class': 'input-group col-md-12 adder-dialog-top'
}).appendTo(container);
+ var filter_placeholder = text.get('@i18n:association.filter_placeholder');
+ filter_placeholder = filter_placeholder.replace('${other_entity}',
+ that.other_entity.metadata.label);
+
that.filter_field = $('<input/>', {
type: 'text',
name: 'filter',
'class': 'form-control',
+ 'placeholder': filter_placeholder,
keyup: function(event) {
if (event.keyCode === keys.ENTER) {
that.search();
@@ -781,7 +786,7 @@ IPA.adder_dialog = function(spec) {
that.find_button = IPA.button({
name: 'find',
- label: '@i18n:buttons.find',
+ label: '@i18n:buttons.filter',
click: function() {
that.search();
return false;