diff options
author | Adam Young <ayoung@redhat.com> | 2010-12-04 00:29:05 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-12-06 12:52:47 -0500 |
commit | 10f3c0825bfdffa6035e78066001eb3bdc759143 (patch) | |
tree | e1a2ddef0846e12275cd661752217e461a204b7c /install/static/search.js | |
parent | 37f48c0019c64f20bfc24b021442b643eaf86aab (diff) | |
download | freeipa-10f3c0825bfdffa6035e78066001eb3bdc759143.tar.gz freeipa-10f3c0825bfdffa6035e78066001eb3bdc759143.tar.xz freeipa-10f3c0825bfdffa6035e78066001eb3bdc759143.zip |
entity i18n
Updated the user,group,host, hostgroup, netgroup, service, and all policy
entities to use the newer framework functions, in order to
replaced the old array style definitions which did not support i18n.
update a few of the newer framerwork functions to get the lables from the
meta data.
Fixed the unit tests which were expecting a details facet for users,
no longer automatically created
Diffstat (limited to 'install/static/search.js')
-rw-r--r-- | install/static/search.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/install/static/search.js b/install/static/search.js index f267c701a..a9f71b9ac 100644 --- a/install/static/search.js +++ b/install/static/search.js @@ -285,6 +285,13 @@ function ipa_search_facet(spec) { }; that.create_column = function(spec) { + if (!spec.label){ + var param_info = ipa_get_param_info(this.entity_name, spec.name); + if (param_info){ + spec.label = param_info.label; + } + } + var column = ipa_column(spec); that.add_column(column); return column; |