remotes/origin/stage6
Alexander Burdeinyi 9 years ago
parent 3d7c16158e
commit cbd305eec6
  1. 4
      emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html
  2. 5
      emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html

@ -411,11 +411,11 @@
<tr>
<td style="font-family: Arial, sans-serif; font-size: 13px; text-transform: uppercase; padding-bottom: 12px; {% if forloop.first %}color: #33ccff; {% elif forloop.counter == 2 %}color: #cc3399; {% elif forloop.counter == 3 %}color: #99cc66;{% elif forloop.counter == 4 %}color: #ff6600;{% endif %}">
{% if obj.get_event_place_name %}
{% if obj.city %}
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px;"><img src="cid:m{{ forloop.counter }}" alt=""></td>
<td>{{ obj.get_event_place_name }}</td>
<td>{{ obj.city }}</td>
</tr>
</table>
{% endif %}

@ -1,6 +1,7 @@
{% load i18n %}
{% load static %}
{% load thumbnail %}
{% load template_filters %}
{# <a href="http://{{ domain }}{% url 'events:main' %}?{{ moscow_filter_url }}">{% trans "ПОСМОТРЕТЬ ВСЕ" %} ></a> #}
{# <a href="http://{{ domain }}{% url 'events:main' %}?{{ russia_filter_url }}">{% trans "ПОСМОТРЕТЬ ВСЕ" %} ></a> #}
@ -403,9 +404,9 @@
</tr>
<tr>
<td class="color{{ forloop.counter }}" style="font-family: Arial, sans-serif; font-size: 13px; text-transform: uppercase; padding-bottom: 12px;">
{% if obj.get_event_place_name %}
{% if obj.city %}
<img src="{{ STATIC_URL }}newsletter/images/m{{ forloop.counter }}.png" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;">
{{ obj.get_event_place_name }}
{{ obj.city }}
{% endif %}
</td>
</tr>

Loading…
Cancel
Save