diff --git a/exposition/views.py b/exposition/views.py index 22ab24bd..0f50018c 100644 --- a/exposition/views.py +++ b/exposition/views.py @@ -526,5 +526,5 @@ def send_to_organiser(request, slug): msg.send() redirect_to = '%sservice/thanks/'%exposition.get_permanent_url() - return HttpResponseRedirect(json.dumps({'success':True, 'redirect_to': redirect_to}), content_type='application/json') + return HttpResponse(json.dumps({'success':True, 'redirect_to': redirect_to}), content_type='application/json') diff --git a/templates/client/exposition/catalog.html b/templates/client/exposition/catalog.html index e7b03d05..de61d7eb 100644 --- a/templates/client/exposition/catalog.html +++ b/templates/client/exposition/catalog.html @@ -34,7 +34,7 @@ {% block content_list %} {% if paid %} - {% include 'includes/exposition/exposition_list.html' with object_list=paid %} + {% include 'includes/exposition/expo_list_paid.html' with object_list=paid %} {% endif %} {% include 'includes/exposition/exposition_list.html' with object_list=object_list %} {% endblock %} diff --git a/templates/client/exposition/exposition_list.html b/templates/client/exposition/exposition_list.html index e0ed9b03..8fc3bfd1 100644 --- a/templates/client/exposition/exposition_list.html +++ b/templates/client/exposition/exposition_list.html @@ -24,8 +24,6 @@ {% block page_title %}
{% endif %}
{% endfor %}
diff --git a/templates/client/includes/banners/expo_list_baner.html b/templates/client/includes/banners/expo_list_baner.html
index 4044fc53..792fa3b3 100644
--- a/templates/client/includes/banners/expo_list_baner.html
+++ b/templates/client/includes/banners/expo_list_baner.html
@@ -1,6 +1,6 @@
{% load static %}
\ No newline at end of file
diff --git a/templates/client/includes/exposition/expo_list_paid.html b/templates/client/includes/exposition/expo_list_paid.html
new file mode 100644
index 00000000..1b5fdd3e
--- /dev/null
+++ b/templates/client/includes/exposition/expo_list_paid.html
@@ -0,0 +1,154 @@
+{% load static %}
+{% load i18n %}
+{% load template_filters %}
+{% with objects=object_list %}
+ {% if objects %}
+
+