webui: facet group labels for idview's facets

https://fedorahosted.org/freeipa/ticket/4535

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
Petr Vobornik
2014-09-25 15:50:41 +02:00
parent ae5a34cbbc
commit 2cc78acf9b
3 changed files with 15 additions and 1 deletions

View File

@@ -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',

View File

@@ -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}",