summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-18 19:04:44 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:29 +0200
commitee491bdf3815c76225e088c8554ac8bba96f6121 (patch)
treebb156187dc82761df94e07fb78b1175a670c8980
parent14c276d21865f70e0ff939357b52a9830d32b5ea (diff)
downloadfreeipa-ee491bdf3815c76225e088c8554ac8bba96f6121.tar.gz
freeipa-ee491bdf3815c76225e088c8554ac8bba96f6121.tar.xz
freeipa-ee491bdf3815c76225e088c8554ac8bba96f6121.zip
Replace IPA.metadata.objects... with declarative definitions
https://fedorahosted.org/freeipa/ticket/3235
-rw-r--r--install/ui/src/freeipa/automount.js10
-rw-r--r--install/ui/src/freeipa/dns.js10
-rw-r--r--install/ui/src/freeipa/host.js2
-rw-r--r--install/ui/src/freeipa/policy.js2
-rw-r--r--install/ui/src/freeipa/realmdomains.js2
-rw-r--r--install/ui/src/freeipa/serverconfig.js2
6 files changed, 14 insertions, 14 deletions
diff --git a/install/ui/src/freeipa/automount.js b/install/ui/src/freeipa/automount.js
index ac2c21c14..ef1823e1b 100644
--- a/install/ui/src/freeipa/automount.js
+++ b/install/ui/src/freeipa/automount.js
@@ -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: [
{
diff --git a/install/ui/src/freeipa/dns.js b/install/ui/src/freeipa/dns.js
index e7ff60332..5024e8b76 100644
--- a/install/ui/src/freeipa/dns.js
+++ b/install/ui/src/freeipa/dns.js
@@ -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',
diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js
index 31e0add63..4dd58f88d 100644
--- a/install/ui/src/freeipa/host.js
+++ b/install/ui/src/freeipa/host.js
@@ -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,
diff --git a/install/ui/src/freeipa/policy.js b/install/ui/src/freeipa/policy.js
index 38d9e3624..2766c9f5e 100644
--- a/install/ui/src/freeipa/policy.js
+++ b/install/ui/src/freeipa/policy.js
@@ -98,7 +98,7 @@ return {
facets: [
{
$type: 'details',
- title: IPA.metadata.objects.krbtpolicy.label,
+ title: '@mo:krbtpolicy.label',
sections: [
{
name: 'identity',
diff --git a/install/ui/src/freeipa/realmdomains.js b/install/ui/src/freeipa/realmdomains.js
index 82f104cad..4d8cb8bd4 100644
--- a/install/ui/src/freeipa/realmdomains.js
+++ b/install/ui/src/freeipa/realmdomains.js
@@ -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',
diff --git a/install/ui/src/freeipa/serverconfig.js b/install/ui/src/freeipa/serverconfig.js
index 97aac5413..94e1454ad 100644
--- a/install/ui/src/freeipa/serverconfig.js
+++ b/install/ui/src/freeipa/serverconfig.js
@@ -39,7 +39,7 @@ return {
facets: [
{
$type: 'details',
- title: IPA.metadata.objects.config.label,
+ title: '@mo:config.label',
sections: [
{
name: 'search',