From 3076a5c4bde25bb49c4114cb5dcef68cbad3a32c Mon Sep 17 00:00:00 2001
From: George Goldberg <george@gberg.me>
Date: Fri, 6 Jan 2017 14:03:02 +0000
Subject: Add missing targets to docs links. (#4978)

---
 webapp/components/admin_console/policy_settings.jsx | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'webapp/components/admin_console/policy_settings.jsx')

diff --git a/webapp/components/admin_console/policy_settings.jsx b/webapp/components/admin_console/policy_settings.jsx
index 50b9d4033..0e224af73 100644
--- a/webapp/components/admin_console/policy_settings.jsx
+++ b/webapp/components/admin_console/policy_settings.jsx
@@ -146,7 +146,11 @@ export default class PolicySettings extends AdminSettings {
                             defaultMessage='Set policy on who can delete public channels. Deleted channels can be recovered from the database using a {commandLineToolLink}.'
                             values={{
                                 commandLineToolLink: (
-                                    <a href='https://docs.mattermost.com/administration/command-line-tools.html'>
+                                    <a
+                                        href='https://docs.mattermost.com/administration/command-line-tools.html'
+                                        target='_blank'
+                                        rel='noopener noreferrer'
+                                    >
                                         <FormattedMessage
                                             id='admin.general.policy.restrictPublicChannelDeletionCommandLineToolLink'
                                             defaultMessage='command line tool'
@@ -222,7 +226,11 @@ export default class PolicySettings extends AdminSettings {
                             defaultMessage='Set policy on who can delete private groups. Deleted groups can be recovered from the database using a {commandLineToolLink}.'
                             values={{
                                 commandLineToolLink: (
-                                    <a href='https://docs.mattermost.com/administration/command-line-tools.html'>
+                                    <a
+                                        href='https://docs.mattermost.com/administration/command-line-tools.html'
+                                        target='_blank'
+                                        rel='noopener noreferrer'
+                                    >
                                         <FormattedMessage
                                             id='admin.general.policy.restrictPrivateChannelDeletionCommandLineToolLink'
                                             defaultMessage='command line tool'
-- 
cgit v1.2.3-1-g7c22

