From 313f267cfe5ba177158a9222583dcf954f967bd6 Mon Sep 17 00:00:00 2001
From: Matthew Taylor
Date: Tue, 17 Jan 2017 15:57:15 -0500
Subject: [PATCH 1/2] Add checkbox to opt-in to teacher emails
---
src/components/registration/steps.jsx | 44 ++++++++++++-------
src/l10n.json | 1 +
.../teacherregistration.jsx | 1 +
3 files changed, 30 insertions(+), 16 deletions(-)
diff --git a/src/components/registration/steps.jsx b/src/components/registration/steps.jsx
index ae35ad8a8..f1b0d2029 100644
--- a/src/components/registration/steps.jsx
+++ b/src/components/registration/steps.jsx
@@ -870,23 +870,35 @@ module.exports = {
diff --git a/src/l10n.json b/src/l10n.json
index c26ca761a..e7cb6ac3a 100644
--- a/src/l10n.json
+++ b/src/l10n.json
@@ -125,6 +125,7 @@
"registration.newPassword": "New Password",
"registration.nextStep": "Next Step",
"registration.notYou": "Not you? Log in as another user",
+ "registration.optIn": "Send me tips and product updates around using Scratch in educational settings",
"registration.personalStepTitle": "Personal Information",
"registration.personalStepDescription": "Your individual responses will not be displayed publicly, and will be kept confidential and secure",
"registration.selectCountry": "select country",
diff --git a/src/views/teacherregistration/teacherregistration.jsx b/src/views/teacherregistration/teacherregistration.jsx
index 46cc34c7c..d468085ae 100644
--- a/src/views/teacherregistration/teacherregistration.jsx
+++ b/src/views/teacherregistration/teacherregistration.jsx
@@ -50,6 +50,7 @@ var TeacherRegistration = intl.injectIntl(React.createClass({
this.state.formData.user.gender
),
country: this.state.formData.user.country,
+ subscribe: formData.subscribe,
is_robot: this.state.formData.user.isRobot,
first_name: this.state.formData.user.name.first,
last_name: this.state.formData.user.name.last,
From 7cfc29f2dceeccf07396d805da65dba7c517e673 Mon Sep 17 00:00:00 2001
From: Matthew Taylor
Date: Thu, 19 Jan 2017 18:36:28 -0500
Subject: [PATCH 2/2] Update content
Thanks @kaschm!
---
src/l10n.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/l10n.json b/src/l10n.json
index e7cb6ac3a..257c3e7d7 100644
--- a/src/l10n.json
+++ b/src/l10n.json
@@ -125,7 +125,7 @@
"registration.newPassword": "New Password",
"registration.nextStep": "Next Step",
"registration.notYou": "Not you? Log in as another user",
- "registration.optIn": "Send me tips and product updates around using Scratch in educational settings",
+ "registration.optIn": "Send me updates on using Scratch in educational settings",
"registration.personalStepTitle": "Personal Information",
"registration.personalStepDescription": "Your individual responses will not be displayed publicly, and will be kept confidential and secure",
"registration.selectCountry": "select country",