summaryrefslogtreecommitdiffstats
path: root/web/react/components/signup_team_confirm.jsx
blob: 290d8e503dd88bf8883c02bbd50b211a9c637c16 (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
// 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 {
    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
};