summaryrefslogtreecommitdiffstats
path: root/web/react/components/login.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-26 20:32:24 -0500
committer=Corey Hulen <corey@hulen.com>2016-01-26 20:32:24 -0500
commitc2bc9454ce5550a180d8ee9fec75db7f3841b1ad (patch)
treebb56d39a6eb468dc002486723bdb085ca7b20a3b /web/react/components/login.jsx
parent21d51f8c9094f434afed8d23d4790aea28a4c0df (diff)
downloadchat-c2bc9454ce5550a180d8ee9fec75db7f3841b1ad.tar.gz
chat-c2bc9454ce5550a180d8ee9fec75db7f3841b1ad.tar.bz2
chat-c2bc9454ce5550a180d8ee9fec75db7f3841b1ad.zip
PLT-1586 adding attach device id method
Diffstat (limited to 'web/react/components/login.jsx')
-rw-r--r--web/react/components/login.jsx25
1 files changed, 16 insertions, 9 deletions
diff --git a/web/react/components/login.jsx b/web/react/components/login.jsx
index 57e9a3788..3c1d66334 100644
--- a/web/react/components/login.jsx
+++ b/web/react/components/login.jsx
@@ -137,6 +137,21 @@ export default class Login extends React.Component {
);
}
+ let findTeams = null;
+ if (!Utils.isMobileApp()) {
+ findTeams = (
+ <div className='form-group margin--extra form-group--small'>
+ <span>
+ <a href='/find_team'>
+ <FormattedMessage
+ id='login.find_teams'
+ defaultMessage='Find your other teams'
+ />
+ </a></span>
+ </div>
+ );
+ }
+
return (
<div className='signup-team__container'>
<h5 className='margin--less'>{'Sign in to:'}</h5>
@@ -147,15 +162,7 @@ export default class Login extends React.Component {
{emailSignup}
{ldapLogin}
{userSignUp}
- <div className='form-group margin--extra form-group--small'>
- <span>
- <a href='/find_team'>
- <FormattedMessage
- id='login.find_teams'
- defaultMessage='Find your other teams'
- />
- </a></span>
- </div>
+ {findTeams}
{forgotPassword}
{teamSignUp}
</div>