From 1566edec4cc0da8837fce10d7d0c8b687be8b184 Mon Sep 17 00:00:00 2001 From: Jennifer Siegfried Date: Thu, 4 Aug 2016 16:24:53 -0600 Subject: [PATCH] Language/styling updates --- app/controllers/recruiter_controller.rb | 3 +- app/views/candidate_mailer/reminder.html.erb | 19 ++++++--- app/views/candidate_mailer/reminder.text.erb | 9 +++-- app/views/candidate_mailer/submitted.html.erb | 13 +++++- app/views/candidate_mailer/submitted.text.erb | 2 +- app/views/candidate_mailer/welcome.html.erb | 40 ++++++++++++------- app/views/candidate_mailer/welcome.text.erb | 4 +- .../candidate_created.html.erb | 20 +++++++--- .../candidate_created.text.erb | 8 ++-- .../candidate_submitted.html.erb | 13 +++++- .../candidate_submitted.text.erb | 2 +- .../candidate_submission.html.erb | 10 ++--- .../candidate_submission.text.erb | 8 ++-- 13 files changed, 100 insertions(+), 51 deletions(-) diff --git a/app/controllers/recruiter_controller.rb b/app/controllers/recruiter_controller.rb index e263c80..dcb145a 100644 --- a/app/controllers/recruiter_controller.rb +++ b/app/controllers/recruiter_controller.rb @@ -34,7 +34,8 @@ class RecruiterController < ApplicationController session[:user] = recruiter.to_i redirect_to recruiter_path else - redirect_to recruiter_login_path, flash: { error: "Sorry, incorrect email or password. Please try again." } + redirect_to recruiter_login_path, + flash: { error: "Sorry, incorrect email or password. Please try again." } end end diff --git a/app/views/candidate_mailer/reminder.html.erb b/app/views/candidate_mailer/reminder.html.erb index 74faed6..af7393c 100644 --- a/app/views/candidate_mailer/reminder.html.erb +++ b/app/views/candidate_mailer/reminder.html.erb @@ -1,8 +1,9 @@ - @@ -12,16 +13,24 @@

Dear <%= @candidate.name %>,

Thank you for taking the Skills Assessment Test. However, it looks like you have not submitted it - yet. If you are having troubles, please reach out to your recruiter: + yet. If you are having trouble, please reach out to your recruiter: <%= mail_to @candidate.recruiter.email %>

You can return to the test here: - <%= link_to nil, root_url %> + <%= link_to nil, root_url %>.
- Your test id is: <%= @candidate.test_hash %> + Your Test ID is: <%= @candidate.test_hash %>

+ + + +
- PERFICIENT DIGITAL - Skills Assessment Test + +
PERFICIENT/digital Skills Assessment Test
+


+


+


+
 
+
diff --git a/app/views/candidate_mailer/reminder.text.erb b/app/views/candidate_mailer/reminder.text.erb index f9895f3..3a2e08f 100644 --- a/app/views/candidate_mailer/reminder.text.erb +++ b/app/views/candidate_mailer/reminder.text.erb @@ -1,10 +1,11 @@ -PERFICIENT DIGITAL - Skills Assessment Test +PERFICIENT/digital - Skills Assessment Test Thank you for taking the Skills Assessment Test. However, it looks like you have not submitted it -yet. If you are having troubles, please reach out to your recruiter: +yet. If you are having trouble, please reach out to your recruiter: <%= @candidate.recruiter.email %> You can return to the test here: -<%= root_url %> +<%= root_url %>. -Your test id is: <%= @candidate.test_hash %> +Your Test ID is: +<%= @candidate.test_hash %> diff --git a/app/views/candidate_mailer/submitted.html.erb b/app/views/candidate_mailer/submitted.html.erb index 32a4af8..11e4679 100644 --- a/app/views/candidate_mailer/submitted.html.erb +++ b/app/views/candidate_mailer/submitted.html.erb @@ -1,8 +1,9 @@ - @@ -14,4 +15,12 @@ + + + +
- PERFICIENT DIGITAL - Skills Assessment Test + +
PERFICIENT/digital Skills Assessment Test
+


+


+


+
 
+
diff --git a/app/views/candidate_mailer/submitted.text.erb b/app/views/candidate_mailer/submitted.text.erb index dcbc844..571bde5 100644 --- a/app/views/candidate_mailer/submitted.text.erb +++ b/app/views/candidate_mailer/submitted.text.erb @@ -1,4 +1,4 @@ -PERFICIENT DIGITAL - Skills Assessment Test +PERFICIENT/digital - Skills Assessment Test Dear <%= @candidate.name %>, diff --git a/app/views/candidate_mailer/welcome.html.erb b/app/views/candidate_mailer/welcome.html.erb index 87ccfae..1fbb890 100644 --- a/app/views/candidate_mailer/welcome.html.erb +++ b/app/views/candidate_mailer/welcome.html.erb @@ -1,35 +1,45 @@ - +
- + + + - - + + + +
- PERFICIENT DIGITAL - Skills Assessment Test + +
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 <%= root_url %> and enter your Test ID to begin your test. - Your Test ID is: <%= @candidate.test_hash %>. + Your Test ID is: <%= @candidate.test_hash %>.

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

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


+


+
 
+
diff --git a/app/views/candidate_mailer/welcome.text.erb b/app/views/candidate_mailer/welcome.text.erb index e7279fd..cb16c8c 100644 --- a/app/views/candidate_mailer/welcome.text.erb +++ b/app/views/candidate_mailer/welcome.text.erb @@ -1,4 +1,6 @@ -PERFICIENT DIGITAL - Skills Assessment Test +PERFICIENT/digital + +Hello there! You have been invited to take our Skills Assessment Test. Please visit <%= login_url(@candidate.test_hash) %> to begin your test. diff --git a/app/views/recruiter_mailer/candidate_created.html.erb b/app/views/recruiter_mailer/candidate_created.html.erb index 2138311..8132ca9 100644 --- a/app/views/recruiter_mailer/candidate_created.html.erb +++ b/app/views/recruiter_mailer/candidate_created.html.erb @@ -1,8 +1,8 @@ - - @@ -11,14 +11,22 @@ + + + +
- PERFICIENT DIGITAL - Skills Assessment Test + +
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 name: <%= @candidate.name %>
+ Candidate email: <%= @candidate.email %>
Candidate ID: <%= @candidate.test_hash %>
- Years of Experience: <%= @candidate.experience %> Years
+ 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.text.erb b/app/views/recruiter_mailer/candidate_created.text.erb index e8d2529..56b001b 100644 --- a/app/views/recruiter_mailer/candidate_created.text.erb +++ b/app/views/recruiter_mailer/candidate_created.text.erb @@ -1,10 +1,10 @@ -PERFICIENT DIGITAL - Skills Assessment Test +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 name: <%= @candidate.name %> +Candidate email: <%= @candidate.email %> Candidate ID: <%= @candidate.test_hash %> -Years of Experience: <%= @candidate.experience %> Years +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_submitted.html.erb b/app/views/recruiter_mailer/candidate_submitted.html.erb index 23070ea..ac47946 100644 --- a/app/views/recruiter_mailer/candidate_submitted.html.erb +++ b/app/views/recruiter_mailer/candidate_submitted.html.erb @@ -1,8 +1,9 @@ - @@ -14,4 +15,12 @@ + + + +
- PERFICIENT DIGITAL - Skills Assessment Test + +
PERFICIENT/digital Skills Assessment Test
+


+


+


+
 
+
diff --git a/app/views/recruiter_mailer/candidate_submitted.text.erb b/app/views/recruiter_mailer/candidate_submitted.text.erb index d27ef77..c6e7142 100644 --- a/app/views/recruiter_mailer/candidate_submitted.text.erb +++ b/app/views/recruiter_mailer/candidate_submitted.text.erb @@ -1,4 +1,4 @@ -PERFICIENT DIGITAL - Skills Assessment Test +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/reviewer_mailer/candidate_submission.html.erb b/app/views/reviewer_mailer/candidate_submission.html.erb index 6307b47..f91d483 100644 --- a/app/views/reviewer_mailer/candidate_submission.html.erb +++ b/app/views/reviewer_mailer/candidate_submission.html.erb @@ -1,17 +1,17 @@ - diff --git a/app/views/reviewer_mailer/candidate_submission.text.erb b/app/views/reviewer_mailer/candidate_submission.text.erb index e3acb32..41a8ed4 100644 --- a/app/views/reviewer_mailer/candidate_submission.text.erb +++ b/app/views/reviewer_mailer/candidate_submission.text.erb @@ -1,5 +1,5 @@ -SKILLS ASSESSMENT RESULTS +PERFICIENT/digital SKILLS ASSESSMENT RESULTS -<%= @candidate.test_hash %> -has completed the Skills Assesment Test. -You can review the results here: <%= review_test_url(@candidate.test_hash) %> +Candidate <%= @candidate.test_hash %> has completed the Skills Assessment Test. + +You can view the results here: <%= review_test_url(@candidate.test_hash) %>
- SKILLS ASSESSMENT RESULTS + +
PERFICIENT/digital Skills Assessment Test Results
+


-

<%= @candidate.test_hash %>

-

has completed the Skills Assesment Test.

-

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

+

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) %>