summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-21 14:15:44 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-21 14:15:44 -0600
commit221985435966dbf583d3e367c243822e338b6bc4 (patch)
tree140d0b1318df0d5b11ef21eacf7cfa7545498585 /web/react
parent8cc45a2e08c3eaaa66619cc7ee9dfc7ff49b388f (diff)
downloadchat-221985435966dbf583d3e367c243822e338b6bc4.tar.gz
chat-221985435966dbf583d3e367c243822e338b6bc4.tar.bz2
chat-221985435966dbf583d3e367c243822e338b6bc4.zip
PLT-7 client side infra
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/login.jsx17
1 files changed, 15 insertions, 2 deletions
diff --git a/web/react/components/login.jsx b/web/react/components/login.jsx
index 1d9b3e906..6887489a7 100644
--- a/web/react/components/login.jsx
+++ b/web/react/components/login.jsx
@@ -7,6 +7,8 @@ import LoginLdap from './login_ldap.jsx';
import * as Utils from '../utils/utils.jsx';
import Constants from '../utils/constants.jsx';
+var FormattedMessage = ReactIntl.FormattedMessage;
+
export default class Login extends React.Component {
constructor(props) {
super(props);
@@ -86,7 +88,12 @@ export default class Login extends React.Component {
if (emailSignup) {
forgotPassword = (
<div className='form-group'>
- <a href={'/' + teamName + '/reset_password'}>{'I forgot my password'}</a>
+ <a href={'/' + teamName + '/reset_password'}>
+ <FormattedMessage
+ id='login.forgot_password'
+ defaultMessage='I forgot my password'
+ />
+ </a>
</div>
);
}
@@ -141,7 +148,13 @@ export default class Login extends React.Component {
{ldapLogin}
{userSignUp}
<div className='form-group margin--extra form-group--small'>
- <span><a href='/find_team'>{'Find your other teams'}</a></span>
+ <span>
+ <a href='/find_team'>
+ <FormattedMessage
+ id='login.find_teams'
+ defaultMessage='Find your other teams'
+ />
+ </a></span>
</div>
{forgotPassword}
{teamSignUp}