summaryrefslogtreecommitdiffstats
path: root/install/ui
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-09-25 15:50:41 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-09-30 10:47:03 +0200
commit2cc78acf9b45b5f8a2d12e232d53267a31732df6 (patch)
tree4c14bc1ab3e09deee3de3e24562fa3f38e499f27 /install/ui
parentae5a34cbbc0cd3841647a2ad166bdfc65399da19 (diff)
downloadfreeipa-2cc78acf9b45b5f8a2d12e232d53267a31732df6.tar.gz
freeipa-2cc78acf9b45b5f8a2d12e232d53267a31732df6.tar.xz
freeipa-2cc78acf9b45b5f8a2d12e232d53267a31732df6.zip
webui: facet group labels for idview's facets
https://fedorahosted.org/freeipa/ticket/4535 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui')
-rw-r--r--install/ui/src/freeipa/idviews.js12
-rw-r--r--install/ui/test/data/ipa_init.json2
2 files changed, 13 insertions, 1 deletions
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}",