Last active
January 16, 2017 00:32
-
-
Save schweppsie/2c5fe27dec3943f3d1aa369c4712051d to your computer and use it in GitHub Desktop.
2017 Reply Theme 01
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
</head> | |
<body> | |
{% assign emails = case.emails_for_reply_theme %} | |
{% for email in emails reversed %} | |
{% if forloop.first %} | |
<!-- START: CASE INFO AREA --> | |
<table cellspacing="0" cellpadding="10px" border="0" width="100%" style="background-color: #F5F5F5; color: #3e3e3e; border-bottom: 3px solid white; padding:5px;"> | |
<tr> | |
<td style="width: 33.33%;"> | |
<div> | |
<span><b>Your Agent | </b> {{ email.agent.name_public }} </span> | |
</div> | |
</td> | |
<td style="width: 33.33%; text-align: center;"> | |
<div> | |
<span><b>Case Number | </b> #{{case.id}}</span> | |
</div> | |
</td> | |
<td style="width: 33.33%; text-align: right;"> | |
<div> | |
<span><b>Date | </b> {{email.send_at | in_time_zone: site.timezone | date: "%b %d, %Y %I:%M %p"}}</span> | |
</div> | |
</td> | |
</tr> | |
</table> | |
<!-- END: CASE INFO AREA --> | |
<table cellspacing="0" cellpadding="10px" border="0" width="100%" style="border-top: 5px solid #F5F5F5; padding-top:10px; padding-bottom:30px;"> | |
<!-- START: EMAIL BODY TEXT --> | |
<tr> | |
<td> | |
<div style="color: #3e3e3e; font-size: 14px;"> | |
{{ email.new_html }} | |
<!-- END: EMAIL BODY TEXT --> | |
<!-- START: AGENT SIGNATURE AREA --> | |
{% if email.agent.signature %} | |
<div style="margin-top:10px;">{{ email.agent.signature | newline_to_br }} | |
</div> | |
{% endif %} | |
<!-- END: AGENT SIGNATURE AREA --> | |
</div> | |
</td> | |
</tr> | |
</table> | |
{% else %} | |
<!-- START: FIRST REPLY --> | |
<table class="email-body" cellspacing="0" cellpadding="10px" border="0" width="100%" style="margin-bottom: 20px; | |
"> | |
<tr> | |
<td style="width: 120px; border-right: 1px solid #ccc; padding-top:30px;padding-bottom:30px;"> | |
<div class="info-box" style="text-align:right; color: #3e3e3e;"> | |
<span>{% if email.from_address == customer.email %} | |
<span>You</span> | |
{% else %} | |
{{ email.agent.name_public }} | |
{% endif %} wrote:</span> | |
</div> | |
<div style="text-align: right; font-size: 12px; padding-top: 10px; width: 70px; float: right;color: #3e3e3e;"> | |
<span>{{email.send_at | in_time_zone: site.timezone | date: "%b %d, %Y %I:%M %p"}}</span> | |
</div> | |
<div style="text-align:right; text-align: right; font-size: 12px; padding-top: 10px; width: 70px; float: right;color: #3e3e3e;"> | |
<span>#{{case.id}}</span> | |
</div> | |
</td> | |
<td style="color: #3e3e3e;"> | |
{{ email.new_html }} | |
</td> | |
</tr> | |
</table> | |
<!-- END: FIRST REPLY --> | |
{% endif %} | |
{% endfor %} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment