From cbd305eec6c183e1bfe625fa2fc3aeff1477b132 Mon Sep 17 00:00:00 2001 From: Alexander Burdeinyi Date: Tue, 13 Dec 2016 16:54:53 +0200 Subject: [PATCH] m --- .../newsletter/templates/newsletter/AutomaticEmail_v2.html | 4 ++-- .../newsletter/templates/newsletter/AutomaticEmail_web.html | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html b/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html index 99200671..342788c0 100644 --- a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html +++ b/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html @@ -411,11 +411,11 @@ - {% if obj.get_event_place_name %} + {% if obj.city %} - +
{{ obj.get_event_place_name }}{{ obj.city }}
{% endif %} diff --git a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html b/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html index d09b1197..44a96a86 100644 --- a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html +++ b/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html @@ -1,6 +1,7 @@ {% load i18n %} {% load static %} {% load thumbnail %} +{% load template_filters %} {# {% trans "ПОСМОТРЕТЬ ВСЕ" %} > #} {# {% trans "ПОСМОТРЕТЬ ВСЕ" %} > #} @@ -403,9 +404,9 @@ - {% if obj.get_event_place_name %} + {% if obj.city %} - {{ obj.get_event_place_name }} + {{ obj.city }} {% endif %}