Email layout templatized.

This commit is contained in:
Manny.Muriel 2016-08-18 15:10:41 -07:00 committed by Mark Moser
parent 5b85a3c41a
commit a67c859b6f
5 changed files with 43 additions and 248 deletions

View File

@ -1,47 +1,6 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p>Dear <strong><%= @candidate.name %></strong>,</p>
<p>Thank you for taking the Skills Assessment Test. Your recruiter will be in touch.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>
<row>
<columns class="email-body">
<p>Dear <strong><%= @candidate.name %></strong>,</p>
<p>Thank you for taking the Skills Assessment Test. Your recruiter will be in touch.</p>
</columns>
</row>

View File

@ -1,54 +1,13 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p>Hello there! You have been invited to take our Skills Assessment Test.</p>
<p style="font-size: 20px; text-align: center; padding: 50px; background-color: #f3f3f3">
Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to begin your test.
</p>
<p>
Or, visit <%= link_to nil, root_url %> and enter your Test ID to begin your test.
Your Test ID is: <strong><%= @candidate.test_hash %></strong>.
Once we have evaluated your answers, your recruiter will be in touch. Good luck!
</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>
<row>
<columns class="email-body">
<p>Hello there! You have been invited to take our Skills Assessment Test.</p>
<p style="font-size: 20px; text-align: center; padding: 50px; background-color: #f3f3f3">
Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to begin your test.
</p>
<p>
Or, visit <%= link_to nil, root_url %> and enter your Test ID to begin your test.
Your Test ID is: <strong><%= @candidate.test_hash %></strong>.
Once we have evaluated your answers, your recruiter will be in touch. Good luck!
</p>
</columns>
</row>

View File

@ -1,55 +1,14 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<row>
<columns class="email-body">
<p>The following candidate has been invited to take the Skills Assessment Test:</p>
<p>
<strong>Candidate name:</strong> <%= @candidate.name %><br />
<strong>Candidate email:</strong> <%= @candidate.email %><br />
<strong>Candidate ID:</strong> <%= @candidate.test_hash %><br />
<strong>Years of experience:</strong> <%= @candidate.experience %> Years<br />
</p>
<p>The following candidate has been invited to take the Skills Assessment Test:</p>
<p>
<strong>Candidate name:</strong> <%= @candidate.name %><br />
<strong>Candidate email:</strong> <%= @candidate.email %><br />
<strong>Candidate ID:</strong> <%= @candidate.test_hash %><br />
<strong>Years of experience:</strong> <%= @candidate.experience %> Years<br />
</p>
<p>You will be notified when the candidate has finished taking the test.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>
<p>You will be notified when the candidate has finished taking the test.</p>
</columns>
</row>

View File

@ -1,47 +1,6 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p><strong><%= @candidate.name %></strong> has completed the Skills Assessment Test.</p>
<p><strong>Martin Ridgway</strong> will let you know if we would like to interview this candidate.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>
<row>
<columns class="email-body">
<p><strong><%= @candidate.name %></strong> has completed the Skills Assessment Test.</p>
<p><strong>Martin Ridgway</strong> will let you know if we would like to interview this candidate.</p>
</columns>
</row>

View File

@ -1,47 +1,6 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p>Candidate <strong><%= @candidate.test_hash %></strong> has completed the Skills Assessment Test.</p>
<p>You can view the results here: <%= link_to nil, review_test_url(@candidate.test_hash) %>.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>
<row>
<columns class="email-body">
<p>Candidate <strong><%= @candidate.test_hash %></strong> has completed the Skills Assessment Test.</p>
<p>You can view the results here: <%= link_to nil, review_test_url(@candidate.test_hash) %>.</p>
</columns>
</row>