summaryrefslogtreecommitdiffstats
path: root/webapp/components/signup_team_confirm.jsx
blob: 117a0b0681646ccc7e845324d4faa40ad97a6da8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

import {FormattedMessage, FormattedHTMLMessage} from 'react-intl';
import {Link} from 'react-router';

import React from 'react';

export default class SignupTeamConfirm extends React.Component {
    render() {
        return (
            <div>
                <div className='signup-header'>
                    <Link to='/'>
                        <span className='fa fa-chevron-left'/>
                        <FormattedMessage
                            id='web.header.back'
                        />
                    </Link>
                </div>
                <div className='col-sm-12'>
                    <div classNameName='signup-team__container'>
                        <h3>
                            <FormattedMessage
                                id='signup_team_confirm.title'
                                defaultMessage='Sign up Complete'
                            />
                        </h3>
                        <p>
                            <FormattedHTMLMessage
                                id='signup_team_confirm.checkEmail'
                                defaultMessage='Please check your email: <strong>{email}</strong><br />Your email contains a link to set up your team'
                                values={{
                                    email: this.props.location.query.email
                                }}
                            />
                        </p>
                    </div>
                </div>
            </div>
        );
    }
}

SignupTeamConfirm.defaultProps = {
};
SignupTeamConfirm.propTypes = {
    location: React.PropTypes.object
};