Web UI: disable global forwarding per zone

Web UI part of 'disable global forwaring per zone' effort.

Option "Forwarding disabled" was added to 'DNS global config' and 'DNS zone' forwarding policy. It corresponds to 'none' value of idnsforwardpolicy.

https://fedorahosted.org/freeipa/ticket/3209
This commit is contained in:
Petr Vobornik 2012-11-02 14:02:39 +01:00
parent 610594156e
commit 1bf537db9e
3 changed files with 10 additions and 0 deletions

View File

@ -72,6 +72,10 @@ IPA.dns.config_entity = function(spec) {
{
value: 'only',
label: IPA.messages.objects.dnsconfig.forward_only
},
{
value: 'none',
label: IPA.messages.objects.dnsconfig.forward_none
}
]
},
@ -201,6 +205,10 @@ IPA.dns.zone_entity = function(spec) {
{
value: 'only',
label: IPA.messages.objects.dnsconfig.forward_only
},
{
value: 'none',
label: IPA.messages.objects.dnsconfig.forward_none
}
]
},

View File

@ -222,6 +222,7 @@
"delegation": {},
"dnsconfig": {
"forward_first": "Forward first",
"forward_none": "Forwarding disabled",
"forward_only": "Forward only",
"options": "Options"
},

View File

@ -359,6 +359,7 @@ class i18n_messages(Command):
},
"dnsconfig": {
"forward_first": _("Forward first"),
"forward_none": _("Forwarding disabled"),
"forward_only": _("Forward only"),
"options": _("Options"),
},