From bcdc17dc06ca6e46309a7a8be6adbaa332412660 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 10 Jun 2016 15:40:53 -0400 Subject: [PATCH] Drop key hints, as they are redundant with the popovers. re: #2249 --- awx/ui/client/src/forms/Credentials.js | 1 - awx/ui/client/src/helpers/Credentials.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/awx/ui/client/src/forms/Credentials.js b/awx/ui/client/src/forms/Credentials.js index 92642bf239..24ca35acd2 100644 --- a/awx/ui/client/src/forms/Credentials.js +++ b/awx/ui/client/src/forms/Credentials.js @@ -239,7 +239,6 @@ export default }, class: 'Form-textAreaLabel Form-formGroup--fullWidth', elementClass: 'Form-monospace', - hintText: "{{ key_hint }}", addRequired: false, editRequired: false, awDropFile: true, diff --git a/awx/ui/client/src/helpers/Credentials.js b/awx/ui/client/src/helpers/Credentials.js index f9960e550e..81037560e2 100644 --- a/awx/ui/client/src/helpers/Credentials.js +++ b/awx/ui/client/src/helpers/Credentials.js @@ -39,7 +39,6 @@ angular.module('CredentialsHelper', ['Utilities']) scope.project_required = false; scope.subscription_required = false; scope.key_description = "Paste the contents of the SSH private key file.
esc or click to close
"; - scope.key_hint= "paste or drag and drop an SSH private key file on the field below"; scope.host_required = false; scope.password_required = false; scope.hostLabel = ''; @@ -65,7 +64,6 @@ angular.module('CredentialsHelper', ['Utilities']) scope.domain_required = false; scope.subscription_required = false; scope.key_description = "Paste the contents of the SSH private key file."; - scope.key_hint= "paste or drag and drop an SSH private key file on the field below"; scope.host_required = false; scope.password_required = false; scope.hostLabel = ''; @@ -101,7 +99,6 @@ angular.module('CredentialsHelper', ['Utilities']) scope.key_required = true; scope.project_required = true; scope.key_description = 'Paste the contents of the PEM file associated with the service account email.'; - scope.key_hint= "drag and drop a private key file on the field below"; scope.projectLabel = "Project"; scope.project_required = false; scope.projectPopOver = "

The Project ID is the " + @@ -114,7 +111,6 @@ angular.module('CredentialsHelper', ['Utilities']) scope.subscription_required = true; scope.key_required = true; scope.key_description = "Paste the contents of the PEM file that corresponds to the certificate you uploaded in the Microsoft Azure console."; - scope.key_hint= "drag and drop a management certificate file on the field below"; break; case 'azure_rm': scope.usernameLabel = "Username";