From 3dce47e3db8cf3a520c3b3a08ffab8b541b28520 Mon Sep 17 00:00:00 2001 From: ya_dim4ik Date: Mon, 19 Dec 2016 19:01:10 +0200 Subject: [PATCH] exposition news subscribe button --- .../client/includes/exposition/expo_paid.html | 2 + .../exposition/exposition_object.html | 46 +++++++++++-------- 2 files changed, 28 insertions(+), 20 deletions(-) diff --git a/templates/client/includes/exposition/expo_paid.html b/templates/client/includes/exposition/expo_paid.html index d5f577ab..afe72417 100644 --- a/templates/client/includes/exposition/expo_paid.html +++ b/templates/client/includes/exposition/expo_paid.html @@ -120,6 +120,8 @@ +

 {% trans 'Подписаться на новости' %}   {% blocktrans with name=exposition.name|safe %}Получайте актуальную информацию о выставке {{ name }} на свой email{% endblocktrans %}

+
diff --git a/templates/client/includes/exposition/exposition_object.html b/templates/client/includes/exposition/exposition_object.html index d594df2f..c2f618d2 100644 --- a/templates/client/includes/exposition/exposition_object.html +++ b/templates/client/includes/exposition/exposition_object.html @@ -124,29 +124,35 @@ - {% include 'client/includes/exposition/exposition_services.html' with object=exposition %} - {% include 'client/includes/event_steps.html' with event=exposition %} - {% if exposition.get_photos %} + +

 {% trans 'Подписаться на новости' %}   {% blocktrans with name=exposition.name|safe %}Получайте актуальную информацию о выставке {{ name }} на свой email{% endblocktrans %}

+ + {% include 'client/includes/exposition/exposition_services.html' with object=exposition %} + + {% include 'client/includes/event_steps.html' with event=exposition %} + + {% if exposition.get_photos %} {% with photos=exposition.get_photos|slice:"5" %} -
-
- - -
+
+
+ + +
{% endwith %} {% endif %} +

{% trans 'О выставке' %} {{ exposition.name|safe }}

{% if exposition.description %}