summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-05-13 12:39:13 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-06-10 10:23:29 +0200
commit40a25ecf371ebfcbb0801e1f99e3a2853439f44b (patch)
tree658d019dbeaa1559737051648ae4bd0458cfe0d4 /install
parent5c3fd4bb832859172fa6e7c739724f6562ccfb7f (diff)
webui: add search box placeholder text
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/freeipa/search.js3
-rw-r--r--install/ui/test/data/ipa_init.json1
2 files changed, 3 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js
index a8bb928ee..56afa0de9 100644
--- a/install/ui/src/freeipa/search.js
+++ b/install/ui/src/freeipa/search.js
@@ -118,7 +118,8 @@ IPA.search_facet = function(spec, no_init) {
that.filter = $('<input/>', {
type: 'text',
'class': 'form-control',
- name: 'filter'
+ name: 'filter',
+ placeholder: text.get('@i18n:search.placeholder')
}).appendTo(that.filter_container);
that.filter.keypress(function(e) {
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index e3384a960..233218c38 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -524,6 +524,7 @@
"enable_confirm": "Are you sure you want to enable selected entries?",
"enabled": "${count} item(s) enabled",
"partial_delete": "Some entries were not deleted",
+ "placeholder": "Search",
"quick_links": "Quick Links",
"select_all": "Select All",
"truncated": "Query returned more results than the configured size limit. Displaying the first ${counter} results.",