diff options
| author | Pavel Vomacka <pvomacka@redhat.com> | 2016-09-14 13:19:25 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-09-21 13:20:21 +0200 |
| commit | 0e6d6e403255649538224c409a0a279aaf9d5181 (patch) | |
| tree | cbaa645cea4be556d9e48ec7ddbbba0fcb0fd6d9 /install/ui/src | |
| parent | 4e880f7ce96bc160af2383880b9c11e66c660a5a (diff) | |
| download | freeipa-0e6d6e403255649538224c409a0a279aaf9d5181.tar.gz freeipa-0e6d6e403255649538224c409a0a279aaf9d5181.tar.xz freeipa-0e6d6e403255649538224c409a0a279aaf9d5181.zip | |
WebUI: Change group name from 'normal' to 'Non-POSIX'
It will correspond with CLI and will be more self-explanatory.
https://fedorahosted.org/freeipa/ticket/6334
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'install/ui/src')
| -rw-r--r-- | install/ui/src/freeipa/group.js | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/install/ui/src/freeipa/group.js b/install/ui/src/freeipa/group.js index b26560c0a..7a6bc910f 100644 --- a/install/ui/src/freeipa/group.js +++ b/install/ui/src/freeipa/group.js @@ -62,7 +62,7 @@ return { name: 'external', param: 'objectclass', label: '@i18n:objects.group.type', - default_label: '@i18n:objects.group.normal', + default_label: '@i18n:objects.group.nonposix', value_map: { ipaexternalgroup: '@i18n:objects.group.external', posixgroup: '@i18n:objects.group.posix' @@ -174,8 +174,8 @@ return { default_value: 'posix', options: [ { - value: 'normal', - label: '@i18n:objects.group.normal' + value: 'nonposix', + label: '@i18n:objects.group.nonposix' }, { value: 'external', @@ -224,10 +224,8 @@ IPA.group_adder_dialog = function(spec) { var type_field = that.fields.get_field('type'); var type = type_field.save()[0]; - if (type === 'normal') { - command.set_option('nonposix', true); - } else if (type === 'external') { - command.set_option('external', true); + if (type === 'nonposix' || type === 'external') { + command.set_option(type, true); } return command; |
