email fixes

remotes/origin/stage6
ya_dim4ik 9 years ago
parent 8a1691f5e3
commit bfb41fe636
  1. 30
      emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html

@ -86,14 +86,6 @@
<tr class="mld-body mld-body-1"> <tr class="mld-body mld-body-1">
<td align="center" valign="top" style="background-color: #f8f8f6; border-top: 1px solid #f3f3f3;"> <td align="center" valign="top" style="background-color: #f8f8f6; border-top: 1px solid #f3f3f3;">
<!-- LAOYUT BODY -->
{% comment %}
<table border="0" cellspacing="0" cellpadding="0" style="width: 600px; font-family: Arial, sans-serif;">
<tr>
<td align="center" valign="top" style="background-color: #f8f8f6;">
{% endcomment %}
<!-- PADDING LEFT&RIGHT --> <!-- PADDING LEFT&RIGHT -->
<table border="0" cellspacing="0" class="mld-element mld-container" style="width:100%;"> <table border="0" cellspacing="0" class="mld-element mld-container" style="width:100%;">
@ -199,8 +191,8 @@
</table> </table>
{% for sqs_obj in moscow %} {% for sqs_obj in moscow %}
{% with sqs_obj.object as obj %} {% with sqs_obj.object as obj %}
<table style="width: 100%; margin-top: 20px;"> <table style="width: 100%; margin-top: 20px; {% if not forloop.last %}border-bottom: 1px solid #eaeaea;{% endif %}">
<tr {% if not forloop.last %}style="border-bottom: 1px solid #eaeaea;"{% endif %}> <tr>
<td valign="top" style="width: 110px;"> <td valign="top" style="width: 110px;">
<a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_image"> <a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_image">
{# {% thumbnail obj.get_logo '90x90' as im %}#} {# {% thumbnail obj.get_logo '90x90' as im %}#}
@ -278,8 +270,8 @@
</table> </table>
{% for sqs_obj in russia %} {% for sqs_obj in russia %}
{% with sqs_obj.object as obj %} {% with sqs_obj.object as obj %}
<table style="width: 100%; margin-top: 18px;"> <table style="width: 100%; margin-top: 18px; {% if not forloop.last %}border-bottom: 1px solid #eaeaea;{% endif %}">
<tr {% if not forloop.last %}style="border-bottom: 1px solid #eaeaea;"{% endif %}> <tr>
<td valign="top" style="width: 110px;"> <td valign="top" style="width: 110px;">
<a href="https://{{ domain }}{{ obj.get_permanent_url }}" class="event_image"> <a href="https://{{ domain }}{{ obj.get_permanent_url }}" class="event_image">
{# {% thumbnail obj.get_logo '100x100' as im %}#} {# {% thumbnail obj.get_logo '100x100' as im %}#}
@ -486,12 +478,6 @@
{% if blog %} {% if blog %}
<!-- Новенькое из блога --> <!-- Новенькое из блога -->
<table style="width: 100%;"> <table style="width: 100%;">
{% comment %}
<tr>
<td align="center" style="padding-top: 30px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 30px; font-weight: bold; text-transform: uppercase; color: #333333">{% trans "Новенькое из блога" %}</td>
</tr>
{% endcomment %}
<tr> <tr>
<td style="padding-bottom: 40px;"> <td style="padding-bottom: 40px;">
<table style="width: 600px; margin: 0 auto;"> <table style="width: 600px; margin: 0 auto;">
@ -650,14 +636,6 @@
</tr> </tr>
</table> </table>
{% comment %}
</td>
</tr>
</table>
{% endcomment %}
</td> </td>
</tr> </tr>

Loading…
Cancel
Save