mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
Replace IPA.get_command_option calls in specs with provider strings
https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
@@ -135,13 +135,11 @@ IPA.automount.map_entity = function(spec) {
|
||||
fields: [
|
||||
{
|
||||
name: 'key',
|
||||
label: IPA.get_command_option(
|
||||
'automountmap_add_indirect', 'key').label
|
||||
label: '@mc-opt:automountmap_add_indirect:key:label'
|
||||
},
|
||||
{
|
||||
name: 'parentmap',
|
||||
label: IPA.get_command_option(
|
||||
'automountmap_add_indirect', 'parentmap').label
|
||||
label: '@mc-opt:automountmap_add_indirect:parentmap:label'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -319,7 +319,7 @@ IPA.dns.zone_entity = function(spec) {
|
||||
{
|
||||
$type: 'force_dnszone_add_checkbox',
|
||||
name: 'force',
|
||||
metadata: IPA.get_command_option('dnszone_add', 'force')
|
||||
metadata: '@mc-opt:dnszone_add:force'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ IPA.entitle.entity = function(spec) {
|
||||
fields: [
|
||||
{
|
||||
name: 'uuid',
|
||||
label: IPA.get_command_option('entitle_register', 'ipaentitlementid').label,
|
||||
label: '@mc-opt:entitle_register:ipaentitlementid:label',
|
||||
read_only: true
|
||||
},
|
||||
{
|
||||
@@ -124,13 +124,13 @@ IPA.entitle.entity = function(spec) {
|
||||
},
|
||||
{
|
||||
name: 'password',
|
||||
label: IPA.get_command_option('entitle_register', 'password').label,
|
||||
label: '@mc-opt:entitle_register:password:label',
|
||||
$type: 'password'
|
||||
}
|
||||
/* currently not supported
|
||||
, {
|
||||
name: 'ipaentitlementid',
|
||||
label: IPA.get_command_option('entitle_register', 'ipaentitlementid').label
|
||||
label: '@mc-opt:entitle_register:ipaentitlementid:label'
|
||||
}
|
||||
*/
|
||||
]
|
||||
|
||||
@@ -117,7 +117,7 @@ IPA.group.entity = function(spec) {
|
||||
columns: [
|
||||
{
|
||||
name: 'ipaexternalmember',
|
||||
label: IPA.get_command_option('group_add_member', 'ipaexternalmember').label
|
||||
label: '@mc-opt:group_add_member:ipaexternalmember:label'
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -233,12 +233,12 @@ IPA.host.entity = function(spec) {
|
||||
{
|
||||
name: 'ip_address',
|
||||
validators: [ 'ip_address' ],
|
||||
metadata: IPA.get_command_option('host_add', 'ip_address')
|
||||
metadata: '@mc-opt:host_add:ip_address'
|
||||
},
|
||||
{
|
||||
$type: 'force_host_add_checkbox',
|
||||
name: 'force',
|
||||
metadata: IPA.get_command_option('host_add', 'force')
|
||||
metadata: '@mc-opt:host_add:force'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ IPA.service.entity = function(spec) {
|
||||
{
|
||||
$type: 'checkbox',
|
||||
name: 'force',
|
||||
metadata: IPA.get_command_option('service_add', 'force')
|
||||
metadata: '@mc-opt:service_add:force'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -680,7 +680,7 @@ IPA.sudo.options_section = function(spec) {
|
||||
|
||||
that.table.create_column({
|
||||
name: 'ipasudoopt',
|
||||
label: IPA.get_command_option('sudorule_add_option', 'ipasudoopt').label,
|
||||
label: '@mc-opt:sudorule_add_option:ipasudoopt:label',
|
||||
entity: that.entity,
|
||||
primary_key: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user