Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34015 from code-dot-org/parent-email-confirmation
Add parent email confirmation when added to a student account
- Loading branch information
Showing
6 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
dashboard/app/views/parent_mailer/parent_email_added_to_student_account.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
%p | ||
Welcome to Code.org! You have successfully linked your email to your child’s account. | ||
We're thrilled that you have taken the next step in supporting #{@student.name} in their learning and exploration of | ||
computer science. If you are not #{@student.name}’s parent, please reply to this email or contact support@code.org. | ||
|
||
%h3 | ||
Looking for a place to get started? | ||
%p | ||
We’ve collected a set of | ||
%a{href:"https://code.org/athome"}resources for learning at home, | ||
including fun introductory tutorials, short educational videos, express courses, and open-ended projects. | ||
|
||
%p | ||
You and your student can also participate in Code Break each Wednesday at 10 am PST / 1 pm ET. | ||
Code Break is a live, interactive classroom with weekly challenges to engage students of all abilities, | ||
even those without computers. Learn more about | ||
%a{href:"https://code.org/break"}Code Break. | ||
|
||
%p | ||
Don’t have a computer? We can suggest some options that work great on mobile phones or tablets too! | ||
%a{href:"https://code.org/athome#apps"}See smartphone options. | ||
|
||
%h3 | ||
Keep track of what your child is learning | ||
%p | ||
Parent excitement and involvement can help keep kids motivated as they learn - try checking in with your student when | ||
you can to see what they’ve built. Encourage them to browse the | ||
%a{href:"https://studio.code.org/projects/public"}games or artwork project gallery | ||
and get inspired to make their own code artwork. You can print it and hang it up, email it to a relative, or share it on social media. | ||
%a{href:"https://support.code.org/hc/en-us/articles/360041539831-How-can-I-keep-track-of-what-my-child-is-working-on-on-Code-org-"}Learn more. | ||
%h3 | ||
Stay involved with CS Education | ||
%p | ||
Code.org believes every student in every school should have the opportunity to learn computer science. | ||
Our coding platform and K-12 computer science curriculum are the most broadly used in the world, | ||
and generous donors make them free for your student. Please consider | ||
%a{href:"https://donate.code.org/campaign/support-computer-science-education/c172233"}supporting our work | ||
to enable more children to learn for free. And explore other | ||
%a{href:"https://code.org/help"}ways to get involved. | ||
%p | ||
Thank you for supporting and encouraging your child’s learning! | ||
%p | ||
Hadi Partovi | ||
%br | ||
Founder, Code.org | ||
%p | ||
P.S. We take student privacy very seriously at Code.org. Read our | ||
%a{href:"https://code.org/privacy"}privacy policy | ||
for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This can be viewed on non-production environments at /rails/mailers/parent_mailer | ||
class ParentMailerPreview < ActionMailer::Preview | ||
include FactoryGirl::Syntax::Methods | ||
|
||
def parent_email_added_to_student_account_preview | ||
student = build :student | ||
ParentMailer.parent_email_added_to_student_account('fake_email@fake.com', student) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters