From cf7a05f80f68b5b1c8bcc0089679dd497cec2506 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Sun, 14 Jun 2015 23:53:32 -0800 Subject: first commit --- web/react/components/email_verify.jsx | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 web/react/components/email_verify.jsx (limited to 'web/react/components/email_verify.jsx') diff --git a/web/react/components/email_verify.jsx b/web/react/components/email_verify.jsx new file mode 100644 index 000000000..168608274 --- /dev/null +++ b/web/react/components/email_verify.jsx @@ -0,0 +1,35 @@ +// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. +// See License.txt for license information. + +module.exports = React.createClass({ + handleResend: function() { + window.location.href = window.location.href + "&resend=true" + }, + render: function() { + var title = ""; + var body = ""; + var resend = ""; + if (this.props.isVerified === "true") { + title = config.SiteName + " Email Verified"; + body =

Your email has been verified! Click here to log in.

; + } else { + title = config.SiteName + " Email Not Verified"; + body =

Please verify your email address. Check your inbox for an email.

; + resend = + } + + return ( +
+
+
+

{ title }

+
+
+ { body } + { resend } +
+
+
+ ); + } +}); -- cgit v1.2.3-1-g7c22