From 2cc78acf9b45b5f8a2d12e232d53267a31732df6 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 25 Sep 2014 15:50:41 +0200 Subject: webui: facet group labels for idview's facets https://fedorahosted.org/freeipa/ticket/4535 Reviewed-By: Endi Sukma Dewata --- install/ui/src/freeipa/idviews.js | 12 +++++++++++- install/ui/test/data/ipa_init.json | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'install/ui') diff --git a/install/ui/src/freeipa/idviews.js b/install/ui/src/freeipa/idviews.js index aa2412254..2ba1fd681 100644 --- a/install/ui/src/freeipa/idviews.js +++ b/install/ui/src/freeipa/idviews.js @@ -45,7 +45,17 @@ return { enable_test: function() { return true; }, - facet_groups: ['appliedto', 'overrides', 'settings'], + facet_groups: [ + { + name: 'appliedto', + label: '@i18n:objects.idview.appliesto_tab' + }, + { + name: 'overrides', + label: '@i18n:objects.idview.overrides_tab' + }, + 'settings' + ], facets: [ { $type: 'search', diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index dfeffd9d1..9b6a528e4 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -369,12 +369,14 @@ "anchor_tooltip": "Enter trusted or IPA group name. Note: search doesn't list groups from trusted domains." }, "idview": { + "appliesto_tab": "${primary_key} applies to:", "appliedtohosts": "Applied to hosts", "appliedtohosts_title": "Applied to hosts", "apply_hostgroups": "Apply to host groups", "apply_hostgroups_title": "Apply ID View ${primary_key} on hosts of ${entity}", "apply_hosts": "Apply to hosts", "apply_hosts_title": "Apply ID view ${primary_key} on ${entity}", + "overrides_tab": "${primary_key} overrides:", "unapply_hostgroups": "Un-apply from host groups", "unapply_hostgroups_all_title": "Un-apply ID Views from hosts of hostgroups", "unapply_hostgroups_title": "Un-apply ID View ${primary_key} from hosts of ${entity}", -- cgit