Thanks page

remotes/origin/1203
Назар Котюк 11 years ago
parent 9a02617b5d
commit 254a9dcb14
  1. 2
      article/models.py
  2. 1
      exposition/views.py
  3. 8
      proj/urls.py
  4. 3
      service/urls.py
  5. 4
      service/views.py
  6. 9
      templates/client/article/catalog.html
  7. 20
      templates/client/base_catalog.html
  8. 2
      templates/client/index.html
  9. 1
      templates/client/robot.txt
  10. 11
      templates/client/service/thank_u_page.html
  11. BIN
      templates/client/static_client/img/partners/IPSA-pict.png
  12. BIN
      templates/client/static_client/img/partners/Rosupack.png
  13. BIN
      templates/client/static_client/img/partners/imgo.jpg
  14. BIN
      templates/client/static_client/img/partners/wire_760x70.gif
  15. 1
      templates/robot.txt

@ -248,7 +248,7 @@ class Article(TranslatableModel):
return preview[0]
else:
return None
def get_catalog(self):
if self.type == 1:
return '/blogs/'

@ -395,6 +395,7 @@ class ExpoThemeCatalog(ExpoCatalog):
context['country'] = self.country
if self.city:
context['city'] = self.city
context['theme_for_filter'] = self.kwargs['theme']
return context

@ -1,19 +1,15 @@
# -*- coding: utf-8 -*-
from django.conf import settings
from django.conf.urls import patterns, include, url
from core.views import PlaceListView, PlacePhotoView, EventSearchView
from core.simple_index_view import AdvertisingView, AboutView
from views import MainPageView, MainPageViewTest
from place_exposition.views import PlaceSearchView
from django.http import HttpResponse
from django.contrib.sitemaps.views import sitemap
import debug_toolbar
from django.views.generic.base import TemplateView
urlpatterns = patterns('',
#url(r'^__debug__/', include(debug_toolbar.urls)),
url(r'^admin/', include('proj.admin_urls')),
url(r'^robot\.txt$', TemplateView.as_view(template_name='robots.txt', content_type='text/plain')),
url(r'^$', MainPageView.as_view()),
url(r'^main_page/$', MainPageViewTest.as_view()),
url(r'^theme/', include('theme.urls')),

@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url
from views import ServiceView, CallBackListView, VisitListView, TranslationListView, AdvertisingListView, \
ParticipationListView, RemoteListView,TicketsListView
ParticipationListView, RemoteListView,TicketsListView, Thanks
urlpatterns = patterns('',
url(r'service/thanks/$', Thanks.as_view()),
url(r'service/order/callback/$', CallBackListView.as_view()),
url(r'service/order/visit/$', VisitListView.as_view()),
url(r'service/order/translation/$', TranslationListView.as_view()),

@ -79,3 +79,7 @@ class RemoteListView(AbstractOrderListView):
class TicketsListView(AbstractOrderListView):
model = Tickets
class Thanks(TemplateView):
template_name = 'client/service/thank_u_page.html'

@ -6,7 +6,11 @@
{% block bread_scrumbs %}
<div class="bread-crumbs">
<a href="/">{% trans 'Главная страница' %}</a>
<a href="/news/">{% trans 'Новости' %}</a>
{% ifequal catalog_url '/news/tag/' %}
<a href="/news/">{% trans 'Новости' %}</a>
{% else %}
<a href="/blogs/">{% trans 'Статьи' %}</a>
{% endifequal %}
{% if month %}
<a href="{{ catalog_url }}{{ filter_object.url }}/">{{ filter_object.name }}</a>
<a href="{{ year.link }}">{{ year.text }}</a>
@ -27,7 +31,10 @@
<div class="page-title">
<h1>{% if meta %}{{ meta.h1 }}{% else %}{% trans 'Новости' %}: <strong>{{ filter_object.name }}</strong>{% endif %}</h1>
</div>
{% ifequal catalog_url '/news/tag/' %}
{% include 'includes/article/catalog_filter_period.html' %}
{% endifequal %}
{% endblock %}
{% block content_list %}

@ -19,11 +19,18 @@
{% include 'client/includes/online_consult.html' %}
{% block aside_banner1 %}
<div class="sbnr">
<div class="sbnr-wrap">
<a href="#"><img src="{% static 'client/img/_del-temp/bnrs-2.jpg' %}" alt="" /></a>
{% if theme_for_filter.id == 27 or theme_for_filter.id == 9 or theme_for_filter.id == 48 %}
<div class="sbnr">
<div class="sbnr-wrap">
<a href="/expomap.ru/redirect.php/action/banner/goto/293">
<img src="{% static 'client/img/partners/imgo.jpg' %}" alt="" />
</a>
</div>
</div>
</div>
{% endif %}
{% endblock %}
{% include 'client/includes/services.html' %}
@ -59,6 +66,11 @@
{% with search_form=search_form %}
{% include 'client/includes/catalog_search.html' %}
{% endwith %}
{% block under_search_baner %}
<div class="abn">
<a href="/expomap.ru/redirect.php/action/banner/goto/289"><img src="{% static 'client/img/partners/wire_760x70.gif' %}" alt="" /></a>
</div>
{% endblock %}
{% block bread_scrumbs %}
{% with filter=filter %}

@ -58,7 +58,7 @@
<div class="abn">
{% block menu_banner %}
<a href="/expomap.ru/redirect.php/action/banner/goto/289"><img src="{% static 'client/img/partners/wire_760x70.gif' %}" alt="" /></a>
{% endblock %}
</div>
</div>

@ -0,0 +1,11 @@
{% extends 'base_catalog.html' %}
{% block bread_scrumbs %}
{% endblock %}
{% block page_title %}
{% endblock %}
{% block page_body %}
{% endblock %}

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Loading…
Cancel
Save