From 9f46d5e53cd3120202b1f28caec5c340787deb79 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Thu, 12 Feb 2015 13:44:28 -0500 Subject: [PATCH] Fixed wording on the sudo/su credential's form element --- awx/ui/static/js/forms/Credentials.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/forms/Credentials.js b/awx/ui/static/js/forms/Credentials.js index d92c7fea5c..ca928faad8 100644 --- a/awx/ui/static/js/forms/Credentials.js +++ b/awx/ui/static/js/forms/Credentials.js @@ -312,7 +312,8 @@ export default associated: 'ssh_key_unlock' }, "login_method": { - label: "Login Method", // FIXME: Confirm this label is ok? + label: "Privilege Escalation Credentials", + hintText: "If your playbooks use privilege escalation (\"sudo: true\", \"su: true\", etc), you can specify the username to become, and the password to use here.", type: 'radio_group', ngShow: "kind.value == 'ssh'", ngChange: "loginMethodChange()", @@ -327,7 +328,7 @@ export default label: 'Su', value: 'su' }], - awPopOver: "

A credential may optionally provide a sudo username and password or su username and password to use when running a playbook.

", + awPopOver: "

Sudo: Optionally specify a username for sudo operations. This is equivalent to specifying the ansible-playbook --sudo-user parameter.
Su: Optionally specify a username for su operations. This is equivalent to specifying the ansible-playbook --su-user parameter.", dataPlacement: 'right', dataContainer: "body" },