summaryrefslogtreecommitdiffstats
path: root/webapp/components/integrations
diff options
context:
space:
mode:
authorJason Blais <jason@spinpunch.com>2016-09-20 00:00:07 -0400
committerCorey Hulen <corey@hulen.com>2016-09-19 21:00:07 -0700
commit0157e613bdadaea6b0e0b9db7e8e3000282f09f4 (patch)
tree213c790fd3e6204f91d1c45e9f5c61b95f2e17c7 /webapp/components/integrations
parentbb69e98631b2541954b6ae465b8ba5f788b9dc49 (diff)
downloadchat-0157e613bdadaea6b0e0b9db7e8e3000282f09f4.tar.gz
chat-0157e613bdadaea6b0e0b9db7e8e3000282f09f4.tar.bz2
chat-0157e613bdadaea6b0e0b9db7e8e3000282f09f4.zip
Add a link to OAuth 2 docs in help texts (#4034)
* Update installed_oauth_apps.jsx * Update custom_integrations_settings.jsx * Update confirm_integration.jsx * Update installed_oauth_apps.jsx * Update en.json * Change FormattedMessage to FormattedHTMLMessage * Fix proper coding of links in en.json * Update en.json
Diffstat (limited to 'webapp/components/integrations')
-rw-r--r--webapp/components/integrations/components/confirm_integration.jsx4
-rw-r--r--webapp/components/integrations/components/installed_oauth_apps.jsx16
2 files changed, 17 insertions, 3 deletions
diff --git a/webapp/components/integrations/components/confirm_integration.jsx b/webapp/components/integrations/components/confirm_integration.jsx
index b9274f2e4..de419341e 100644
--- a/webapp/components/integrations/components/confirm_integration.jsx
+++ b/webapp/components/integrations/components/confirm_integration.jsx
@@ -154,9 +154,9 @@ export default class ConfirmIntegration extends React.Component {
helpText = [];
helpText.push(
<p>
- <FormattedMessage
+ <FormattedHTMLMessage
id='add_oauth_app.doneHelp'
- defaultMessage='Your OAuth 2.0 application has been set up. Please use the following Client ID and Client Secret when requesting authorization for your application.'
+ defaultMessage='Your OAuth 2.0 application has been set up. Please use the following Client ID and Client Secret when requesting authorization for your application (see <a href="https://docs.mattermost.com/developer/oauth-2-0-applications.html">documentation</a> for further details).'
/>
</p>
);
diff --git a/webapp/components/integrations/components/installed_oauth_apps.jsx b/webapp/components/integrations/components/installed_oauth_apps.jsx
index 7a3b512dd..39ef347e2 100644
--- a/webapp/components/integrations/components/installed_oauth_apps.jsx
+++ b/webapp/components/integrations/components/installed_oauth_apps.jsx
@@ -82,7 +82,21 @@ export default class InstalledOAuthApps extends React.Component {
helpText={
<FormattedMessage
id='installed_oauth_apps.help'
- defaultMessage='OAuth 2.0 Applications are available to everyone on your server.'
+ defaultMessage='Create OAuth 2.0 applications to securely integrate bots and third-party applications with Mattermost. Please see {link} to learn more.'
+ values={{
+ link: (
+ <a
+ target='_blank'
+ rel='noopener noreferrer'
+ href='https://docs.mattermost.com/developer/oauth-2-0-applications.html'
+ >
+ <FormattedMessage
+ id='installed_oauth_apps.helpLink'
+ defaultMessage='documentation'
+ />
+ </a>
+ )
+ }}
/>
}
addText={