email fixes

remotes/origin/stage6
ya_dim4ik 9 years ago
parent 43ee290e1a
commit fbe84b3e51
  1. 24
      emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html

@ -274,22 +274,34 @@
{% if forloop.first %}
<td style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px; color: #99cc66;">
{% if obj.get_event_place_name %}
<img src="cid:m3" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;">
{{ obj.get_event_place_name }}
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="cid:m3" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %}
</td>
{% elif forloop.counter == 2 %}
<td style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px; color: #cc3399;">
{% if obj.get_event_place_name %}
<img src="cid:m2" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;">
{{ obj.get_event_place_name }}
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="cid:m2" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %}
</td>
{% elif forloop.counter == 3 %}
<td style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px; color: #33ccff;">
{% if obj.get_event_place_name %}
<img src="cid:m1" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;">
{{ obj.get_event_place_name }}
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="cid:m1" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %}
</td>
{% endif %}

Loading…
Cancel
Save