summaryrefslogtreecommitdiffstats
path: root/web/react/components/signup_team_confirm.jsx
blob: de83285dbb683f9efd4fa41a35af633c7d665975 (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
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

import {FormattedMessage, FormattedHTMLMessage} from 'mm-intl';

export default class SignupTeamConfirm extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <div className='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.email
                        }}
                    />
                </p>
            </div>
        );
    }
}

SignupTeamConfirm.defaultProps = {
    email: ''
};
SignupTeamConfirm.propTypes = {
    email: React.PropTypes.string
};