mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Replace IPA.metadata.objects... with declarative definitions
https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
@@ -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: [
|
||||
{
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -98,7 +98,7 @@ return {
|
||||
facets: [
|
||||
{
|
||||
$type: 'details',
|
||||
title: IPA.metadata.objects.krbtpolicy.label,
|
||||
title: '@mo:krbtpolicy.label',
|
||||
sections: [
|
||||
{
|
||||
name: 'identity',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -39,7 +39,7 @@ return {
|
||||
facets: [
|
||||
{
|
||||
$type: 'details',
|
||||
title: IPA.metadata.objects.config.label,
|
||||
title: '@mo:config.label',
|
||||
sections: [
|
||||
{
|
||||
name: 'search',
|
||||
|
||||
Reference in New Issue
Block a user