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>
<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"> <columns class="email-body">
<p>Dear <strong><%= @candidate.name %></strong>,</p> <p>Dear <strong><%= @candidate.name %></strong>,</p>
<p>Thank you for taking the Skills Assessment Test. Your recruiter will be in touch.</p> <p>Thank you for taking the Skills Assessment Test. Your recruiter will be in touch.</p>
</columns> </columns>
</row> </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>

View File

@ -1,11 +1,4 @@
<container class="email-container"> <row>
<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"> <columns class="email-body">
<p>Hello there! You have been invited to take our Skills Assessment Test.</p> <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"> <p style="font-size: 20px; text-align: center; padding: 50px; background-color: #f3f3f3">
@ -17,38 +10,4 @@
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!
</p> </p>
</columns> </columns>
</row> </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>

View File

@ -1,11 +1,4 @@
<container class="email-container"> <row>
<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"> <columns class="email-body">
<p>The following candidate has been invited to take the Skills Assessment Test:</p> <p>The following candidate has been invited to take the Skills Assessment Test:</p>
@ -18,38 +11,4 @@
<p>You will be notified when the candidate has finished taking the test.</p> <p>You will be notified when the candidate has finished taking the test.</p>
</columns> </columns>
</row> </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>

View File

@ -1,47 +1,6 @@
<container class="email-container"> <row>
<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"> <columns class="email-body">
<p><strong><%= @candidate.name %></strong> has completed the Skills Assessment Test.</p> <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> <p><strong>Martin Ridgway</strong> will let you know if we would like to interview this candidate.</p>
</columns> </columns>
</row> </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>

View File

@ -1,47 +1,6 @@
<container class="email-container"> <row>
<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"> <columns class="email-body">
<p>Candidate <strong><%= @candidate.test_hash %></strong> has completed the Skills Assessment Test.</p> <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> <p>You can view the results here: <%= link_to nil, review_test_url(@candidate.test_hash) %>.</p>
</columns> </columns>
</row> </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>