diff --git a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html b/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html index 6179dbca..a46dc677 100644 --- a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html +++ b/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html @@ -279,13 +279,30 @@ -{# {% thumbnail obj.get_logo '100x100' as im %}#} -{# {% endthumbnail %}#} + + + + + + + + + + + + {% if forloop.first %} - - - - - - - - - - - -
{{ obj.name|safe }}
{{ obj.main_title|safe }}
+ + + + + +
{{ obj.get_dates_v2 }}
+
@@ -323,25 +340,6 @@ {% endif %}
{{ obj.name|safe }}
{{ obj.main_title|safe }}
- - - - - -
{{ obj.get_dates_v2 }}
-
{% trans "подробнее" %} @@ -384,59 +382,55 @@
-{# #} -{# #} - {% for sqs_obj in foreign %} - {% with sqs_obj.object as obj %} -{# #} - {% endwith %} - {% endfor %} -{# #} -{#
#} - - - - - -
- - - - - - - - - - - - - - - - - -
- {% if obj.get_event_place_name %} - - - - - -
{{ obj.get_event_place_name }}
- {% endif %} -
{{ obj.name|safe }}
- - - - - -
{{ obj.get_dates_v2 }}
-
- {% for tag in obj.tags %}{{ tag.name }}{% if not forloop.last %}, {% endif %}{% endfor %} -
-
-{#
#} + {% for sqs_obj in foreign %} + {% with sqs_obj.object as obj %} + + + + + +
+ + + + + + + + + + + + + + + + + + + +
{{ obj.name|safe }}
+ + + + + +
{{ obj.get_dates_v2 }}
+
+ {% if obj.get_event_place_name %} + + + + + +
{{ obj.get_event_place_name }}
+ {% endif %} +
+ {% for tag in obj.tags %}{{ tag.name }}{% if not forloop.last %}, {% endif %}{% endfor %} +
+
+ {% endwith %} + {% endfor %}