From 23bf29d9485bdc7c2d73bba88da6480dde802f3d Mon Sep 17 00:00:00 2001 From: "Manny.Muriel" Date: Thu, 18 Aug 2016 13:37:25 -0700 Subject: [PATCH] Applied email template to all emails --- .../mailers/custom-mailer-styles.scss | 5 +- app/views/candidate_mailer/submitted.html.erb | 26 --------- .../candidate_mailer/submitted.html.inky | 47 ++++++++++++++++ app/views/candidate_mailer/welcome.html.erb | 45 --------------- app/views/candidate_mailer/welcome.html.inky | 54 ++++++++++++++++++ .../candidate_created.html.erb | 32 ----------- .../candidate_created.html.inky | 55 +++++++++++++++++++ .../candidate_submitted.html.erb | 26 --------- .../candidate_submitted.html.inky | 47 ++++++++++++++++ .../candidate_submission.html.erb | 18 ------ .../candidate_submission.html.inky | 47 ++++++++++++++++ 11 files changed, 254 insertions(+), 148 deletions(-) delete mode 100644 app/views/candidate_mailer/submitted.html.erb create mode 100644 app/views/candidate_mailer/submitted.html.inky delete mode 100644 app/views/candidate_mailer/welcome.html.erb create mode 100644 app/views/candidate_mailer/welcome.html.inky delete mode 100644 app/views/recruiter_mailer/candidate_created.html.erb create mode 100644 app/views/recruiter_mailer/candidate_created.html.inky delete mode 100644 app/views/recruiter_mailer/candidate_submitted.html.erb create mode 100644 app/views/recruiter_mailer/candidate_submitted.html.inky delete mode 100644 app/views/reviewer_mailer/candidate_submission.html.erb create mode 100644 app/views/reviewer_mailer/candidate_submission.html.inky diff --git a/app/assets/stylesheets/mailers/custom-mailer-styles.scss b/app/assets/stylesheets/mailers/custom-mailer-styles.scss index b59f5e9..4f5f2f4 100644 --- a/app/assets/stylesheets/mailers/custom-mailer-styles.scss +++ b/app/assets/stylesheets/mailers/custom-mailer-styles.scss @@ -21,10 +21,13 @@ a { } .email-body * { font-family: 'Lato', Helvetica Neue, Helvetica, Ariel, sans-serif; - font-weight:300; font-size: 16px; line-height: 1.5em; padding-bottom: 20px; + font-weight:300; + strong { + font-weight:500; + } } .email-copyright { font-family: 'Lato', Helvetica Neue, Helvetica, Ariel, sans-serif; diff --git a/app/views/candidate_mailer/submitted.html.erb b/app/views/candidate_mailer/submitted.html.erb deleted file mode 100644 index 11e4679..0000000 --- a/app/views/candidate_mailer/submitted.html.erb +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - -
-
PERFICIENT/digital Skills Assessment Test
-


-
-

Dear <%= @candidate.name %>,

-

Thank you for taking the Skills Assessment Test. Your recruiter will be in touch.

-
-


-


-
 
-
diff --git a/app/views/candidate_mailer/submitted.html.inky b/app/views/candidate_mailer/submitted.html.inky new file mode 100644 index 0000000..ce31cf0 --- /dev/null +++ b/app/views/candidate_mailer/submitted.html.inky @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + +
+ <%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %> + +   + + <%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %> +
+
+
+
\ No newline at end of file diff --git a/app/views/candidate_mailer/welcome.html.erb b/app/views/candidate_mailer/welcome.html.erb deleted file mode 100644 index 63218f4..0000000 --- a/app/views/candidate_mailer/welcome.html.erb +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -
-
PERFICIENT/digital
-


-
-

Hello there! You have been invited to take our Skills Assessment Test.

-

-
-

- Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to begin your test. -

-
-

-

- Or, visit <%= link_to nil, root_url %> and enter your Test ID to begin your test. - Your Test ID is: <%= @candidate.test_hash %>.

- Once we have evaluated your answers, your recruiter will be in touch. Good luck! -

-
-


-


-
 
-
diff --git a/app/views/candidate_mailer/welcome.html.inky b/app/views/candidate_mailer/welcome.html.inky new file mode 100644 index 0000000..898b63b --- /dev/null +++ b/app/views/candidate_mailer/welcome.html.inky @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + +
+ <%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %> + +   + + <%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %> +
+
+
+
\ No newline at end of file diff --git a/app/views/recruiter_mailer/candidate_created.html.erb b/app/views/recruiter_mailer/candidate_created.html.erb deleted file mode 100644 index 8132ca9..0000000 --- a/app/views/recruiter_mailer/candidate_created.html.erb +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - -
-
PERFICIENT/digital Skills Assessment Test
-


-
-

The following candidate has been invited to take the Skills Assessment Test:

-

- Candidate name: <%= @candidate.name %>
- Candidate email: <%= @candidate.email %>
- Candidate ID: <%= @candidate.test_hash %>
- Years of experience: <%= @candidate.experience %> Years
-

- -

You will be notified when the candidate has finished taking the test.

-
-


-


-
 
-
diff --git a/app/views/recruiter_mailer/candidate_created.html.inky b/app/views/recruiter_mailer/candidate_created.html.inky new file mode 100644 index 0000000..84c94c3 --- /dev/null +++ b/app/views/recruiter_mailer/candidate_created.html.inky @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + +
+ <%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %> + +   + + <%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %> +
+
+
+
\ No newline at end of file diff --git a/app/views/recruiter_mailer/candidate_submitted.html.erb b/app/views/recruiter_mailer/candidate_submitted.html.erb deleted file mode 100644 index 2745ce3..0000000 --- a/app/views/recruiter_mailer/candidate_submitted.html.erb +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - -
-
PERFICIENT/digital Skills Assessment Test
-


-
-

<%= @candidate.name %> has completed the Skills Assessment Test.

-

Martin Ridgway will let you know if we would like to interview this candidate.

-
-


-


-
 
-
diff --git a/app/views/recruiter_mailer/candidate_submitted.html.inky b/app/views/recruiter_mailer/candidate_submitted.html.inky new file mode 100644 index 0000000..5bda573 --- /dev/null +++ b/app/views/recruiter_mailer/candidate_submitted.html.inky @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + +
+ <%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %> + +   + + <%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %> +
+
+
+
\ No newline at end of file diff --git a/app/views/reviewer_mailer/candidate_submission.html.erb b/app/views/reviewer_mailer/candidate_submission.html.erb deleted file mode 100644 index f18337c..0000000 --- a/app/views/reviewer_mailer/candidate_submission.html.erb +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - -
-
PERFICIENT/digital Skills Assessment Test Results
-


-
-

Candidate <%= @candidate.test_hash %> has completed the Skills Assessment Test.

-

You can view the results here: <%= link_to nil, review_test_url(@candidate.test_hash) %>.

-
diff --git a/app/views/reviewer_mailer/candidate_submission.html.inky b/app/views/reviewer_mailer/candidate_submission.html.inky new file mode 100644 index 0000000..d556685 --- /dev/null +++ b/app/views/reviewer_mailer/candidate_submission.html.inky @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + +
+ <%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %> + +   + + <%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %> +
+
+
+
\ No newline at end of file