Adding help text

This commit is contained in:
John Westcott IV
2020-04-14 12:49:56 -04:00
parent 8a25f385e4
commit f091de438e
2 changed files with 2239 additions and 1618 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1103,22 +1103,26 @@ ManagedCredentialType(
}, { }, {
'id': 'username', 'id': 'username',
'label': ugettext_noop('Username'), 'label': ugettext_noop('Username'),
'type': 'string' 'type': 'string',
'help_text': ugettext_noop('The Ansible Tower user to authenticate as.'
'This should not be set if an OAuth token is being used.')
}, { }, {
'id': 'password', 'id': 'password',
'label': ugettext_noop('Password'), 'label': ugettext_noop('Password'),
'type': 'string', 'type': 'string',
'secret': True, 'secret': True,
}, {
'id': 'oauth_token',
'label': ugettext_noop('OAuth Token'),
'type': 'string',
'secret': True,
'help_text': ugettext_noop('An OAuth token to use to authenticate to Tower with.'
'This should not be set if username/password are being used.')
}, { }, {
'id': 'verify_ssl', 'id': 'verify_ssl',
'label': ugettext_noop('Verify SSL'), 'label': ugettext_noop('Verify SSL'),
'type': 'boolean', 'type': 'boolean',
'secret': False 'secret': False
}, {
'id': 'oauth_token',
'label': ugettext_noop('OAuth Token'),
'type': 'string',
'secret': True
}], }],
'required': ['host'], 'required': ['host'],
}, },