summaryrefslogtreecommitdiffstats
path: root/webapp/components/header_footer_template.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-04-28 10:53:52 -0400
committerCorey Hulen <corey@hulen.com>2016-04-28 07:53:52 -0700
commitb07f8272d6a99db2b7d4094961ffe0650b282bb7 (patch)
tree0b1600620d5753878a44f79096b070313e631554 /webapp/components/header_footer_template.jsx
parent9fecf96d3bf49e7c10cff58f656eabf829c83167 (diff)
downloadchat-b07f8272d6a99db2b7d4094961ffe0650b282bb7.tar.gz
chat-b07f8272d6a99db2b7d4094961ffe0650b282bb7.tar.bz2
chat-b07f8272d6a99db2b7d4094961ffe0650b282bb7.zip
Change footer links to a tags instead of Link tags (#2815)
Diffstat (limited to 'webapp/components/header_footer_template.jsx')
-rw-r--r--webapp/components/header_footer_template.jsx29
1 files changed, 16 insertions, 13 deletions
diff --git a/webapp/components/header_footer_template.jsx b/webapp/components/header_footer_template.jsx
index ce2f59541..76061d532 100644
--- a/webapp/components/header_footer_template.jsx
+++ b/webapp/components/header_footer_template.jsx
@@ -5,7 +5,6 @@ import $ from 'jquery';
import {FormattedMessage} from 'react-intl';
import React from 'react';
-import {Link} from 'react-router';
export default class NotLoggedIn extends React.Component {
componentDidMount() {
@@ -30,34 +29,38 @@ export default class NotLoggedIn extends React.Component {
</div>
<div className='col-xs-12'>
<span className='pull-right footer-link copyright'>{'© 2015 Mattermost, Inc.'}</span>
- <Link
+ <a
id='help_link'
className='pull-right footer-link'
- to={global.window.mm_config.HelpLink}
+ target='_blank'
+ href={global.window.mm_config.HelpLink}
>
<FormattedMessage id='web.footer.help'/>
- </Link>
- <Link
+ </a>
+ <a
id='terms_link'
className='pull-right footer-link'
- to={global.window.mm_config.TermsOfServiceLink}
+ target='_blank'
+ href={global.window.mm_config.TermsOfServiceLink}
>
<FormattedMessage id='web.footer.terms'/>
- </Link>
- <Link
+ </a>
+ <a
id='privacy_link'
className='pull-right footer-link'
- to={global.window.mm_config.PrivacyPolicyLink}
+ target='_blank'
+ href={global.window.mm_config.PrivacyPolicyLink}
>
<FormattedMessage id='web.footer.privacy'/>
- </Link>
- <Link
+ </a>
+ <a
id='about_link'
className='pull-right footer-link'
- to={global.window.mm_config.AboutLink}
+ target='_blank'
+ href={global.window.mm_config.AboutLink}
>
<FormattedMessage id='web.footer.about'/>
- </Link>
+ </a>
</div>
</div>
</div>