From 27ba474c67369a69c474f2b396b010875a26a23c Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Fri, 11 Dec 2015 15:38:08 -0800 Subject: Made links in help text open in a new tab --- web/react/components/admin_console/service_settings.jsx | 11 ++++++++++- web/react/components/user_settings/manage_incoming_hooks.jsx | 9 ++++++++- web/react/components/user_settings/manage_outgoing_hooks.jsx | 9 ++++++++- 3 files changed, 26 insertions(+), 3 deletions(-) (limited to 'web') diff --git a/web/react/components/admin_console/service_settings.jsx b/web/react/components/admin_console/service_settings.jsx index d7582d682..e235819fe 100644 --- a/web/react/components/admin_console/service_settings.jsx +++ b/web/react/components/admin_console/service_settings.jsx @@ -172,7 +172,16 @@ export default class ServiceSettings extends React.Component { defaultValue={this.props.config.ServiceSettings.GoogleDeveloperKey} onChange={this.handleChange} /> -

{'Set this key to enable embedding of YouTube video previews based on hyperlinks appearing in messages or comments. Instructions to obtain a key available at '}{'https://www.youtube.com/watch?v=Im69kzhpR3I'}{'. Leaving field blank disables the automatic generation of YouTube video previews from links.'}

+

+ {'Set this key to enable embedding of YouTube video previews based on hyperlinks appearing in messages or comments. Instructions to obtain a key available at '} + + {'https://www.youtube.com/watch?v=Im69kzhpR3I'} + + {'. Leaving the field blank disables the automatic generation of YouTube video previews from links.'} +

diff --git a/web/react/components/user_settings/manage_incoming_hooks.jsx b/web/react/components/user_settings/manage_incoming_hooks.jsx index 9ebb55646..1506e3c98 100644 --- a/web/react/components/user_settings/manage_incoming_hooks.jsx +++ b/web/react/components/user_settings/manage_incoming_hooks.jsx @@ -162,7 +162,14 @@ export default class ManageIncomingHooks extends React.Component { return (
- {'Create webhook URLs for use in external integrations. Please see '}{'http://mattermost.org/webhooks'} {' to learn more.'} + {'Create webhook URLs for use in external integrations. Please see '} + + {'http://mattermost.org/webhooks'} + + {' to learn more.'}
diff --git a/web/react/components/user_settings/manage_outgoing_hooks.jsx b/web/react/components/user_settings/manage_outgoing_hooks.jsx index ede639691..17acf0f10 100644 --- a/web/react/components/user_settings/manage_outgoing_hooks.jsx +++ b/web/react/components/user_settings/manage_outgoing_hooks.jsx @@ -240,7 +240,14 @@ export default class ManageOutgoingHooks extends React.Component { return (
- {'Create webhooks to send new message events to an external integration. Please see '}{'http://mattermost.org/webhooks'} {' to learn more.'} + {'Create webhooks to send new message events to an external integration. Please see '} + + {'http://mattermost.org/webhooks'} + + {' to learn more.'}
-- cgit v1.2.3-1-g7c22