From 581d8568c555ed4a5db71292239feaf8d727880a Mon Sep 17 00:00:00 2001 From: lfbrock Date: Tue, 31 May 2016 14:26:01 -0400 Subject: PLT-726 Update GitLab System Console placeholder text (#3174) * Update gitlab_settings.jsx placeholder text * Update en.json --- webapp/components/admin_console/gitlab_settings.jsx | 8 ++++---- webapp/i18n/en.json | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'webapp') diff --git a/webapp/components/admin_console/gitlab_settings.jsx b/webapp/components/admin_console/gitlab_settings.jsx index bd3cd8dec..cc8f7cdcf 100644 --- a/webapp/components/admin_console/gitlab_settings.jsx +++ b/webapp/components/admin_console/gitlab_settings.jsx @@ -131,7 +131,7 @@ export default class GitLabSettings extends AdminSettings { defaultMessage='User API Endpoint:' /> } - placeholder={Utils.localizeMessage('admin.gitlab.userExample', 'Ex ""')} + placeholder={Utils.localizeMessage('admin.gitlab.userExample', 'Ex "https:///api/v3/user"')} helpText={ } - placeholder={Utils.localizeMessage('admin.gitlab.authExample', 'Ex ""')} + placeholder={Utils.localizeMessage('admin.gitlab.authExample', 'Ex "https:///oauth/authorize"')} helpText={ } - placeholder={Utils.localizeMessage('admin.gitlab.tokenExample', 'Ex ""')} + placeholder={Utils.localizeMessage('admin.gitlab.tokenExample', 'Ex "https:///oauth/token"')} helpText={ ); } -} \ No newline at end of file +} diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 1daeb6a3c..40fb30437 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -183,7 +183,7 @@ "admin.gitab.clientSecretDescription": "Obtain this value via the instructions above for logging into GitLab.", "admin.gitlab.EnableHtmlDesc": "
  1. Log in to your GitLab account and go to Profile Settings -> Applications.
  2. Enter Redirect URIs \"/login/gitlab/complete\" (example: http://localhost:8065/login/gitlab/complete) and \"/signup/gitlab/complete\".
  3. Then use \"Secret\" and \"Id\" fields from GitLab to complete the options below.
  4. Complete the Endpoint URLs below.
", "admin.gitlab.authDescription": "Enter https:///oauth/authorize (example https://example.com:3000/oauth/authorize). Make sure you use HTTP or HTTPS in your URL depending on your server configuration.", - "admin.gitlab.authExample": "Ex \"\"", + "admin.gitlab.authExample": "Ex \"https:///oauth/authorize\"", "admin.gitlab.authTitle": "Auth Endpoint:", "admin.gitlab.clientIdDescription": "Obtain this value via the instructions above for logging into GitLab", "admin.gitlab.clientIdExample": "Ex \"jcuS8PuvcpGhpgHhlcpT1Mx42pnqMxQY\"", @@ -194,10 +194,10 @@ "admin.gitlab.enableTitle": "Enable Sign Up With GitLab: ", "admin.gitlab.settingsTitle": "GitLab Settings", "admin.gitlab.tokenDescription": "Enter https:///oauth/token. Make sure you use HTTP or HTTPS in your URL depending on your server configuration.", - "admin.gitlab.tokenExample": "Ex \"\"", + "admin.gitlab.tokenExample": "Ex \"https:///oauth/token\"", "admin.gitlab.tokenTitle": "Token Endpoint:", "admin.gitlab.userDescription": "Enter https:///api/v3/user. Make sure you use HTTP or HTTPS in your URL depending on your server configuration.", - "admin.gitlab.userExample": "Ex \"\"", + "admin.gitlab.userExample": "Ex \"https:///api/v3/user\"", "admin.gitlab.userTitle": "User API Endpoint:", "admin.image.amazonS3BucketDescription": "Name you selected for your S3 bucket in AWS.", "admin.image.amazonS3BucketExample": "Ex \"mattermost-media\"", -- cgit v1.2.3-1-g7c22