summaryrefslogtreecommitdiffstats
path: root/install/ui/src
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-07-24 15:33:04 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-08-21 10:47:08 +0200
commit27128bd8f50cebb8fc3b8a86b642ca0e272d2024 (patch)
treeeff1d3b912a5f9597388a0c68670623803dc17cf /install/ui/src
parent19bef5bd01b2490e11ffaead12066c2ad0e0e885 (diff)
webui: better authentication types description
Tooltips were added to "User authentication types" and "Default user authentication types" to describe their relationship and a meaning of not-setting a value. https://fedorahosted.org/freeipa/ticket/4471 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/src')
-rw-r--r--install/ui/src/freeipa/serverconfig.js7
-rw-r--r--install/ui/src/freeipa/user.js7
2 files changed, 12 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/serverconfig.js b/install/ui/src/freeipa/serverconfig.js
index 89c89eda9..d134c8882 100644
--- a/install/ui/src/freeipa/serverconfig.js
+++ b/install/ui/src/freeipa/serverconfig.js
@@ -77,7 +77,12 @@ return {
$type: 'checkboxes',
name: 'ipauserauthtype',
flags: ['w_if_no_aci'],
- options: ['password', 'radius', 'otp']
+ options: [
+ { label: '@i18n:authtype.type_password', value: 'password' },
+ { label: '@i18n:authtype.type_radius', value: 'radius' },
+ { label: '@i18n:authtype.type_otp', value: 'otp' }
+ ],
+ tooltip: '@i18n:authtype.config_tooltip'
},
{
$type: 'checkbox',
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js
index 337405050..b595d0667 100644
--- a/install/ui/src/freeipa/user.js
+++ b/install/ui/src/freeipa/user.js
@@ -153,7 +153,12 @@ return {
$type: 'checkboxes',
name: 'ipauserauthtype',
flags: ['w_if_no_aci'],
- options: ['password', 'radius', 'otp']
+ options: [
+ { label: '@i18n:authtype.type_password', value: 'password' },
+ { label: '@i18n:authtype.type_radius', value: 'radius' },
+ { label: '@i18n:authtype.type_otp', value: 'otp' }
+ ],
+ tooltip: '@i18n:authtype.user_tooltip'
}
]
},