diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-12-11 15:38:08 -0800 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2016-01-04 08:24:57 -0800 |
commit | 27ba474c67369a69c474f2b396b010875a26a23c (patch) | |
tree | ff8667efbe7d6a0d0de6c35c75f037ba666031a1 /web | |
parent | 30ea2585bc5d8654a097bb8bae463c37aa597817 (diff) | |
download | chat-27ba474c67369a69c474f2b396b010875a26a23c.tar.gz chat-27ba474c67369a69c474f2b396b010875a26a23c.tar.bz2 chat-27ba474c67369a69c474f2b396b010875a26a23c.zip |
Made links in help text open in a new tab
Diffstat (limited to 'web')
3 files changed, 26 insertions, 3 deletions
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} /> - <p className='help-text'>{'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 '}<a href='https://www.youtube.com/watch?v=Im69kzhpR3I'>{'https://www.youtube.com/watch?v=Im69kzhpR3I'}</a>{'. Leaving field blank disables the automatic generation of YouTube video previews from links.'}</p> + <p className='help-text'> + {'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 '} + <a + href='https://www.youtube.com/watch?v=Im69kzhpR3I' + target='_blank' + > + {'https://www.youtube.com/watch?v=Im69kzhpR3I'} + </a> + {'. Leaving the field blank disables the automatic generation of YouTube video previews from links.'} + </p> </div> </div> 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 ( <div key='addIncomingHook'> - {'Create webhook URLs for use in external integrations. Please see '}<a href='http://mattermost.org/webhooks'>{'http://mattermost.org/webhooks'}</a> {' to learn more.'} + {'Create webhook URLs for use in external integrations. Please see '} + <a + href='http://mattermost.org/webhooks' + target='_blank' + > + {'http://mattermost.org/webhooks'} + </a> + {' to learn more.'} <div><label className='control-label padding-top x2'>{'Add a new incoming webhook'}</label></div> <div className='row padding-top'> <div className='col-sm-10 padding-bottom'> 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 ( <div key='addOutgoingHook'> - {'Create webhooks to send new message events to an external integration. Please see '}<a href='http://mattermost.org/webhooks'>{'http://mattermost.org/webhooks'}</a> {' to learn more.'} + {'Create webhooks to send new message events to an external integration. Please see '} + <a + href='http://mattermost.org/webhooks' + target='_blank' + > + {'http://mattermost.org/webhooks'} + </a> + {' to learn more.'} <div><label className='control-label padding-top x2'>{'Add a new outgoing webhook'}</label></div> <div className='padding-top divider-light'></div> <div className='padding-top'> |