Change footer links to a tags instead of Link tags (#2815)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
9fecf96d3b
Коммит
b07f8272d6
@@ -5,7 +5,6 @@ import $ from 'jquery';
|
|||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {Link} from 'react-router';
|
|
||||||
|
|
||||||
export default class NotLoggedIn extends React.Component {
|
export default class NotLoggedIn extends React.Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
@@ -30,34 +29,38 @@ export default class NotLoggedIn extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
<div className='col-xs-12'>
|
<div className='col-xs-12'>
|
||||||
<span className='pull-right footer-link copyright'>{'© 2015 Mattermost, Inc.'}</span>
|
<span className='pull-right footer-link copyright'>{'© 2015 Mattermost, Inc.'}</span>
|
||||||
<Link
|
<a
|
||||||
id='help_link'
|
id='help_link'
|
||||||
className='pull-right footer-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'/>
|
<FormattedMessage id='web.footer.help'/>
|
||||||
</Link>
|
</a>
|
||||||
<Link
|
<a
|
||||||
id='terms_link'
|
id='terms_link'
|
||||||
className='pull-right footer-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'/>
|
<FormattedMessage id='web.footer.terms'/>
|
||||||
</Link>
|
</a>
|
||||||
<Link
|
<a
|
||||||
id='privacy_link'
|
id='privacy_link'
|
||||||
className='pull-right footer-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'/>
|
<FormattedMessage id='web.footer.privacy'/>
|
||||||
</Link>
|
</a>
|
||||||
<Link
|
<a
|
||||||
id='about_link'
|
id='about_link'
|
||||||
className='pull-right footer-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'/>
|
<FormattedMessage id='web.footer.about'/>
|
||||||
</Link>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user