email fixes

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

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

Loading…
Cancel
Save