Replace IPA.metadata.objects... with declarative definitions

https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
Petr Vobornik
2013-04-18 19:04:44 +02:00
parent 14c276d218
commit ee491bdf38
6 changed files with 14 additions and 14 deletions

View File

@@ -39,15 +39,15 @@ return {
facets: [
{
$type: 'search',
title: IPA.metadata.objects.automountlocation.label,
title: '@mo:automountlocation.label',
columns:['cn']
},
{
$type: 'nested_search',
facet_group: 'automountmap',
nested_entity: 'automountmap',
label: IPA.metadata.objects.automountmap.label,
tab_label: IPA.metadata.objects.automountmap.label,
label: '@mo:automountmap.label',
tab_label: '@mo:automountmap.label',
name: 'maps',
columns: [ 'automountmapname' ]
},
@@ -79,8 +79,8 @@ return {
facet_group: 'automountkey',
nested_entity: 'automountkey',
search_all_entries: true,
label: IPA.metadata.objects.automountkey.label,
tab_label: IPA.metadata.objects.automountkey.label,
label: '@mo:automountkey.label',
tab_label: '@mo:automountkey.label',
name: 'keys',
columns: [
{

View File

@@ -49,7 +49,7 @@ return {
facets: [
{
$type: 'details',
title: IPA.metadata.objects.config.label,
title: '@mo:config.label',
sections: [
{
name: 'options',
@@ -103,7 +103,7 @@ return {
{
$type: 'search',
row_enabled_attribute: 'idnszoneactive',
title: IPA.metadata.objects.dnszone.label,
title: '@mo:dnszone.label',
columns: [
'idnsname',
{
@@ -252,9 +252,9 @@ return {
nested_entity : 'dnsrecord',
name: 'records',
deleter_dialog: IPA.dns.record_search_deleter_dialog,
title: IPA.metadata.objects.dnszone.label_singular,
label: IPA.metadata.objects.dnsrecord.label,
tab_label: IPA.metadata.objects.dnsrecord.label,
title: '@mo:dnszone.label_singular',
label: '@mo:dnsrecord.label',
tab_label: '@mo:dnsrecord.label',
columns: [
{
name: 'idnsname',

View File

@@ -281,7 +281,7 @@ IPA.host_fqdn_widget = function(spec) {
{
$type: 'dnszone_select',
name: 'dnszone',
label: IPA.metadata.objects.dnszone.label_singular,
label: '@mo:dnszone.label_singular',
editable: true,
empty_option: false,
required: true,

View File

@@ -98,7 +98,7 @@ return {
facets: [
{
$type: 'details',
title: IPA.metadata.objects.krbtpolicy.label,
title: '@mo:krbtpolicy.label',
sections: [
{
name: 'identity',

View File

@@ -37,7 +37,7 @@ define([
{
$type: 'details',
$factory: IPA.realmdomains_details_facet,
title: IPA.metadata.objects.realmdomains.label,
title: '@mo:realmdomains.label',
sections: [
{
name: 'identity',

View File

@@ -39,7 +39,7 @@ return {
facets: [
{
$type: 'details',
title: IPA.metadata.objects.config.label,
title: '@mo:config.label',
sections: [
{
name: 'search',