parent
db56241d66
commit
e38616cc03
37 changed files with 417 additions and 998 deletions
@ -0,0 +1,26 @@ |
|||||||
|
{% extends 'base_catalog.html' %} |
||||||
|
{% load i18n %} |
||||||
|
|
||||||
|
{% block bread_scrumbs %} |
||||||
|
<div class="bread-crumbs"> |
||||||
|
<a href="/">{% trans 'Главная страница' %}</a> |
||||||
|
<a href="{{ object.catalog }}">{% trans 'Конференции' %}</a> |
||||||
|
<a href="{{ object.catalog }}country/{{ object.country.url }}/">{{ object.country }}</a> |
||||||
|
<a href="{{ object.catalog }}city/{{ object.city.url }}/">{{ object.city }}</a> |
||||||
|
<a href="{{ object.get_permanent_url }}">{{ object.name }}</a> |
||||||
|
<strong>{% trans 'Фото' %}</strong> |
||||||
|
</div> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
|
||||||
|
{% block page_title %} |
||||||
|
|
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
{% block content_list %} |
||||||
|
{% include 'client/includes/conference/photo.html' with object=object %} |
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
{% block paginator %} |
||||||
|
{% include 'client/includes/catalog_paginator.html' with page_obj=page_obj %} |
||||||
|
{% endblock %} |
||||||
@ -1,219 +0,0 @@ |
|||||||
{% extends 'base_catalog.html' %} |
|
||||||
{% load static %} |
|
||||||
{% load i18n %} |
|
||||||
{% load template_filters %} |
|
||||||
|
|
||||||
|
|
||||||
{% block content_list %} |
|
||||||
|
|
||||||
{% block content_text %} |
|
||||||
{% block page_body %} |
|
||||||
<div class="m-article"> |
|
||||||
<div class="item-wrap event clearfix"> |
|
||||||
<aside> |
|
||||||
{% if object_list.0.expohit %} |
|
||||||
<div class="hit"></div> |
|
||||||
{% endif %} |
|
||||||
<div class="i-pict"> |
|
||||||
{% with obj=object_list.0 %} |
|
||||||
{% include 'client/includes/show_logo.html' %} |
|
||||||
{% endwith %} |
|
||||||
</div> |
|
||||||
<!-- |
|
||||||
<div class="i-rating" title="Рейтинг: 551">551</div> |
|
||||||
--> |
|
||||||
<div class="i-stats"> |
|
||||||
|
|
||||||
{% if object_list.0.visitors %} |
|
||||||
<span class="visitors" title="Посетители">{{ object_list.0.visitors }}</span> |
|
||||||
{% endif %} |
|
||||||
{% if object_list.0.members %} |
|
||||||
<span class="participants" title="Участники">{{ object_list.0.members }}</span> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="i-discount"> |
|
||||||
{% if object_list.0.discount %} |
|
||||||
<a class="discount-button" href="#">{% trans 'Скидка' %} -{{ object_list.0.discount }}%</a> |
|
||||||
|
|
||||||
<div class="dsc-text">{{ object_list.0.discount_description|safe }}</div> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
</aside> |
|
||||||
|
|
||||||
<div class="i-info"> |
|
||||||
<header> |
|
||||||
<div class="i-title"> |
|
||||||
{% if object_list.0.main_title %} |
|
||||||
{{ object_list.0.main_title|safe }} |
|
||||||
{% else %} |
|
||||||
{{ object_list.0.name|safe }} |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
</header> |
|
||||||
|
|
||||||
<div class="i-date"> |
|
||||||
{% with obj=object_list.0 %} |
|
||||||
{% include 'client/includes/show_date_block.html' %} |
|
||||||
{% endwith %} |
|
||||||
</div> |
|
||||||
{% if object_list.0.place %} |
|
||||||
<div class="i-address"> |
|
||||||
<header> |
|
||||||
<div class="address"> |
|
||||||
{{ object_list.0.place.address.address }} |
|
||||||
</div> |
|
||||||
<div class="show-map"><a class="toggle-map" href="#">{% trans 'Раскрыть карту' %}</a></div> |
|
||||||
</header> |
|
||||||
|
|
||||||
<div class="i-map"> |
|
||||||
<div class="close-map"><a class="toggle-map" href="#">{% trans 'Скрыть карту' %}</a> |
|
||||||
</div> |
|
||||||
<div class="map-canvas" id="map-canvas" |
|
||||||
data-coords="{{ object_list.0.place.address.lat }},{{ exposition.place.address.lng }}"></div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="e-price"> |
|
||||||
<div class="sect-title">{% trans 'Стоимость посещения и участия' %}</div> |
|
||||||
<div class="ep-wrap"> |
|
||||||
|
|
||||||
<div class="e-price-wrap"> |
|
||||||
<div class="epr-layout"> |
|
||||||
|
|
||||||
<div class="eprl-col"> |
|
||||||
<div class="epr-title"><span>{% trans 'Для посещения' %}</span></div> |
|
||||||
|
|
||||||
<div class="epr-subtitle">{% trans 'Стоимость билетов' %}</div> |
|
||||||
|
|
||||||
<div class="tp-wrap"> |
|
||||||
|
|
||||||
<ul class="pr-list"> |
|
||||||
{% if object_list.0.price_day %} |
|
||||||
<li> |
|
||||||
<div class="prl-value">{{ object_list.0.price_day }} €</div> |
|
||||||
<div class="prl-descr"><span>{% trans 'на 1 день' %}</span></div> |
|
||||||
</li> |
|
||||||
{% endif %} |
|
||||||
{% if object_list.0.price_all %} |
|
||||||
<li> |
|
||||||
<div class="prl-value">{{ object_list.0.price_all }} €</div> |
|
||||||
<div class="prl-descr"><span>{% trans 'на все дни' %}</span></div> |
|
||||||
</li> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
</ul> |
|
||||||
|
|
||||||
<div class="tp-descr">{% trans 'Предварительная регистрация' %}</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="tp-wrap"> |
|
||||||
|
|
||||||
<ul class="pr-list gray"> |
|
||||||
{% if object_list.0.price_day_bar %} |
|
||||||
<li> |
|
||||||
<div class="prl-value">{{ object_list.0.price_day_bar }} €</div> |
|
||||||
|
|
||||||
<div class="prl-descr"><span>на 1 день</span></div> |
|
||||||
</li> |
|
||||||
{% endif %} |
|
||||||
{% if object_list.0.price_all_bar %} |
|
||||||
<li> |
|
||||||
<div class="prl-value">{{ object_list.0.price_all_bar }} €</div> |
|
||||||
<div class="prl-descr"><span>{% trans 'на все дни' %}</span></div> |
|
||||||
</li> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
</ul> |
|
||||||
|
|
||||||
<div class="tp-descr gray">{% trans 'Регистрация на' %} {% trans 'стойке' %}</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="tp-btn-wrap"> |
|
||||||
<div class="tp-btn"> |
|
||||||
<a class="button big orange b-more" href="#">{% trans 'Заказать билет' %}</a> |
|
||||||
</div> |
|
||||||
<div class="tp-categories"> |
|
||||||
<div class="tpc-title">{% trans 'Выставка открыта для' %}:</div> |
|
||||||
<ul> |
|
||||||
{{ object_list.0.get_audience }} |
|
||||||
|
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="eprl-col"> |
|
||||||
<div class="epr-title"><span>{% trans 'Для участия' %}</span></div> |
|
||||||
|
|
||||||
<div class="epr-subtitle">{% trans 'Стоимость аренды 1м²' %}</div> |
|
||||||
|
|
||||||
<ul class="pr-list"> |
|
||||||
{% if object_list.0.max_closed_equipped_area %} |
|
||||||
<li> |
|
||||||
|
|
||||||
<div class="prl-value">{{ object_list.0.max_closed_equipped_area }} €</div> |
|
||||||
<div class="prl-descr"><span>{% trans 'оборудованная площадь' %}</span></div> |
|
||||||
</li> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
{% if object_list.0.max_closed_area %} |
|
||||||
<li> |
|
||||||
<div class="prl-value">{{ object_list.0.max_closed_area }} €</div> |
|
||||||
<div class="prl-descr"><span>{% trans 'необорудованная площадь' %}</span></div> |
|
||||||
</li> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
{% if object_list.0.max_open_area %} |
|
||||||
<li> |
|
||||||
<div class="prl-value">{{ object_list.0.max_open_area }} €</div> |
|
||||||
<div class="prl-descr"><span>{% trans 'открытая площадь' %}</span></div> |
|
||||||
</li> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
</ul> |
|
||||||
|
|
||||||
<a class="button big orange b-more" href="#">{% trans 'Заявка на участие' %}</a> |
|
||||||
|
|
||||||
<div class="epr-conditons"> |
|
||||||
{% if object_list.0.min_stand_size %} |
|
||||||
<p>{% trans 'Минимальный размер стенда' %} — {{ object_list.0.min_stand_size }}м²</p> |
|
||||||
{% endif %} |
|
||||||
{% if object_list.0.registration_payment %} |
|
||||||
<p>{% trans 'Регистрационный взнос' %} — {{ object_list.0.registration_payment }}€</p> |
|
||||||
{% endif %} |
|
||||||
{% if object_list.0.application_deadline %} |
|
||||||
<p>{% trans 'Крайний срок подачи заявки' %} — {{ object_list.0.application_deadline }}</p> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
<div class="ed-back"> |
|
||||||
<a href="/{{ filter|generate_url:'event' }}">{{ object_list.0.name|safe }}</a> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="i-sub-articles"> |
|
||||||
<ul> |
|
||||||
{% for service in object_list.0.get_services %} |
|
||||||
<li><a href="#">{{ service.name }}</a></li> |
|
||||||
{% endfor %} |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
{% endblock %} |
|
||||||
{% endblock %} |
|
||||||
{% endblock %} |
|
||||||
@ -1,134 +0,0 @@ |
|||||||
{% extends 'base_catalog.html' %} |
|
||||||
{% load static %} |
|
||||||
{% load i18n %} |
|
||||||
{% load pytils_dt %} |
|
||||||
{% load template_filters %} |
|
||||||
|
|
||||||
{% block content_list %} |
|
||||||
{% block content_text %} |
|
||||||
{% block page_body %} |
|
||||||
<div class="m-article"> |
|
||||||
<div class="item-wrap event clearfix"> |
|
||||||
<aside> |
|
||||||
{% if object_list.0.expohit %} |
|
||||||
<div class="hit"></div> |
|
||||||
{% endif %} |
|
||||||
<div class="i-pict"> |
|
||||||
{% with obj=object_list.0 %} |
|
||||||
{% include 'client/includes/show_logo.html' %} |
|
||||||
{% endwith %} |
|
||||||
</div> |
|
||||||
<!-- |
|
||||||
<div class="i-rating" title="Рейтинг: 551">551</div> |
|
||||||
--> |
|
||||||
<div class="i-stats"> |
|
||||||
{% if object_list.0.visitors %} |
|
||||||
<span class="visitors" title="Посетители">{{ object_list.0.visitors }}</span> |
|
||||||
{% endif %} |
|
||||||
{% if object_list.0.members %} |
|
||||||
<span class="participants" title="Участники">{{ object_list.0.members }}</span> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="i-discount"> |
|
||||||
{% if object_list.0.discount %} |
|
||||||
<a class="discount-button" href="#">{% trans 'Скидка' %} -{{ object_list.0.discount }}%</a> |
|
||||||
<div class="dsc-text">{{ object_list.0.discount_description|safe }}</div> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
</aside> |
|
||||||
|
|
||||||
<div class="i-info"> |
|
||||||
<header> |
|
||||||
<div class="i-title"> |
|
||||||
{{ object_list.0.main_title|safe }} |
|
||||||
</div> |
|
||||||
</header> |
|
||||||
|
|
||||||
<div class="i-date"> |
|
||||||
{% with obj=object_list.0 %} |
|
||||||
{% include 'client/includes/show_date_block.html' %} |
|
||||||
{% endwith %} |
|
||||||
</div> |
|
||||||
{% if object_list.0.place %} |
|
||||||
<div class="i-address"> |
|
||||||
<header> |
|
||||||
<div class="address"> |
|
||||||
{{ object_list.0.place.address.address }} |
|
||||||
</div> |
|
||||||
<div class="show-map"><a class="toggle-map" href="#">{% trans 'Раскрыть карту' %}</a></div> |
|
||||||
</header> |
|
||||||
|
|
||||||
<div class="i-map"> |
|
||||||
<div class="close-map"><a class="toggle-map" href="#">{% trans 'Скрыть карту' %}</a> |
|
||||||
</div> |
|
||||||
<div class="map-canvas" id="map-canvas" data-coords="{{ object_list.0.place.address.lat }},{{ exposition.place.address.lng }}" ></div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<hr/> |
|
||||||
<div class="e-programm"> |
|
||||||
<div class="sect-title">Деловая программа</div> |
|
||||||
<div class="ep-wrap"> |
|
||||||
{% for day in object_list.0.get_timetables_days %} |
|
||||||
<div class="ep-sect {% if forloop.counter == 1 %}eps-opened{% endif %}"> |
|
||||||
<div class="ep-sect-title"> |
|
||||||
<a class="eps-open" href="#"> |
|
||||||
{% ifequal LANGUAGE_CODE 'ru' %} |
|
||||||
{{ day|ru_strftime_preposition:"%d %B" }} |
|
||||||
{% else %} |
|
||||||
{{ day|date:"j F" }} |
|
||||||
{% endifequal %} |
|
||||||
</a> |
|
||||||
</div> |
|
||||||
<div class="ep-sect-body"> |
|
||||||
<ul> |
|
||||||
{% for pr in object_list.0.business_program.all|timetable_by_day:day %} |
|
||||||
<li> |
|
||||||
<div class="ep-item"> |
|
||||||
<header class="clearfix"> |
|
||||||
<div class="ep-time">{{ pr.begin|date:"G:i" }} – {{ pr.end|date:"G:i" }}</div> |
|
||||||
<div class="ep-title"><span>{{ pr.name }}</span></div> |
|
||||||
</header> |
|
||||||
<div class="ep-body"> |
|
||||||
{{ pr.programe|safe }}<span class="ep-coord">{% trans 'Организатор' %}: {{ pr.speaker }}</span> |
|
||||||
</div> |
|
||||||
<footer class="clearfix"> |
|
||||||
<div class="ap-area">{{ pr.place }}</div> |
|
||||||
</footer> |
|
||||||
</div> |
|
||||||
</li> |
|
||||||
{% endfor %} |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
{% endfor %} |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
{% with event=exposition filter=filter %} |
|
||||||
{% include 'includes/event_steps.html' %} |
|
||||||
{% endwith %} |
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
<div class="ed-back"> |
|
||||||
<a href="/{{ filter|generate_url:'event' }}">{{ object_list.0 }}</a> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="i-sub-articles"> |
|
||||||
<ul> |
|
||||||
{% for service in object_list.0.get_services %} |
|
||||||
<li><a href="{% if filter %}/{{ filter|generate_url:'event' }}/service/{{ service.url }}/{% else %}{{ event.get_permanent_url }}/service/{{ service.url }}/{%endif%}"> |
|
||||||
{{ service.name }} |
|
||||||
</a> |
|
||||||
</li> |
|
||||||
{% endfor %} |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
{% endblock %} |
|
||||||
{% endblock %} |
|
||||||
{% endblock %} |
|
||||||
@ -1,170 +0,0 @@ |
|||||||
{% extends 'base_catalog.html' %} |
|
||||||
{% load static %} |
|
||||||
{% load i18n %} |
|
||||||
{% load template_filters %} |
|
||||||
|
|
||||||
{% block content_list %} |
|
||||||
|
|
||||||
{% block content_text %} |
|
||||||
{% block page_body %} |
|
||||||
<div class="m-article"> |
|
||||||
<div class="item-wrap event clearfix"> |
|
||||||
<aside> |
|
||||||
{% if object_list.0.expohit %} |
|
||||||
<div class="hit"></div> |
|
||||||
{% endif %} |
|
||||||
<div class="i-pict"> |
|
||||||
{% with obj=object_list.0 %} |
|
||||||
{% include 'client/includes/show_logo.html' %} |
|
||||||
{% endwith %} |
|
||||||
</div> |
|
||||||
<!-- |
|
||||||
<div class="i-rating" title="Рейтинг: 551">551</div> |
|
||||||
--> |
|
||||||
<div class="i-stats"> |
|
||||||
{% if object_list.0.visitors %} |
|
||||||
<span class="visitors" title="Посетители">{{ object_list.0.visitors }}</span> |
|
||||||
{% endif %} |
|
||||||
{% if object_list.0.members %} |
|
||||||
<span class="participants" title="Участники">{{ object_list.0.members }}</span> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="i-discount"> |
|
||||||
{% if object_list.0.discount %} |
|
||||||
<a class="discount-button" href="#">{% trans 'Скидка' %} -{{ object_list.0.discount }}%</a> |
|
||||||
<div class="dsc-text">{{ object_list.0.discount_description|safe }}</div> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
</aside> |
|
||||||
|
|
||||||
<div class="i-info"> |
|
||||||
<header> |
|
||||||
<div class="i-title"> |
|
||||||
{% if object_list.0.main_title %} |
|
||||||
{{ object_list.0.main_title|safe }} |
|
||||||
{% else %} |
|
||||||
{{ object_list.0.name|safe }} |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
</header> |
|
||||||
|
|
||||||
<div class="i-date"> |
|
||||||
{% with obj=object_list.0 %} |
|
||||||
{% include 'client/includes/show_date_block.html' %} |
|
||||||
{% endwith %} |
|
||||||
</div> |
|
||||||
{% if object_list.0.place %} |
|
||||||
<div class="i-address"> |
|
||||||
<header> |
|
||||||
<div class="address"> |
|
||||||
{{ object_list.0.place.address.address }} |
|
||||||
</div> |
|
||||||
<div class="show-map"><a class="toggle-map" href="#">{% trans 'Раскрыть карту' %}</a></div> |
|
||||||
</header> |
|
||||||
|
|
||||||
<div class="i-map"> |
|
||||||
<div class="close-map"><a class="toggle-map" href="#">{% trans 'Скрыть карту' %}</a> |
|
||||||
</div> |
|
||||||
<div class="map-canvas" id="map-canvas" data-coords="{{ object_list.0.place.address.lat }},{{ exposition.place.address.lng }}" ></div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<hr /> |
|
||||||
<div class="e-statistic"> |
|
||||||
<div class="sect-title">{% trans 'Статистика' %}</div> |
|
||||||
<div class="ep-wrap"> |
|
||||||
{% for st in object_list.0.statistic.all %} |
|
||||||
<div class="ep-sect"> |
|
||||||
<div class="ep-sect-title"><a class="eps-open" href="#">{{ st.year }}</a></div> |
|
||||||
|
|
||||||
<div class="ep-sect-body"> |
|
||||||
|
|
||||||
<div class="ep-stats clearfix"> |
|
||||||
<div class="eps-item "> |
|
||||||
<b>{{ st.visitors }}</b> |
|
||||||
<div class="eps-text">{% trans 'посетителей' %}</div> |
|
||||||
</div> |
|
||||||
<div class="eps-item"> |
|
||||||
<b>{{ st.members }}</b> |
|
||||||
<div class="eps-text">{% trans 'учасников' %}</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="ep-info clearfix"> |
|
||||||
{% if object_list.0.place %} |
|
||||||
<div class="ep-area-wrap"> |
|
||||||
<div class="epa-title">{% trans 'Общая выставочная площадь' %}</div> |
|
||||||
|
|
||||||
<div class="epa-area">{{ object_list.0.place.total_area }} {% trans 'м' %}<sup>2</sup></div> |
|
||||||
|
|
||||||
</div> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
<div class="ep-founded"><b>{{ object_list.0.foundation_year }}</b> год основания</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="ep-countries clearfix"> |
|
||||||
<div class="epc-title">{% trans 'Страны' %}</div> |
|
||||||
|
|
||||||
<div class="epc-list"> |
|
||||||
<ul> |
|
||||||
<li>Австралия</li> |
|
||||||
<li>Австрия</li> |
|
||||||
<li>Азербайджан</li> |
|
||||||
<li>Албания</li> |
|
||||||
<li>Алжир</li> |
|
||||||
<li>Ангола</li> |
|
||||||
</ul> |
|
||||||
|
|
||||||
<ul> |
|
||||||
<li>Андорра</li> |
|
||||||
<li>Антигуа</li> |
|
||||||
<li>Аргентина</li> |
|
||||||
<li>Армения</li> |
|
||||||
<li>Афганистан</li> |
|
||||||
<li>Багамские острова</li> |
|
||||||
</ul> |
|
||||||
|
|
||||||
<ul> |
|
||||||
<li>Бангладеш</li> |
|
||||||
<li>Барбадос</li> |
|
||||||
<li>Бахрейн</li> |
|
||||||
<li>Белиз</li> |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
</div> |
|
||||||
{% endfor %} |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
{% with event=object_list.0 %} |
|
||||||
{% include 'includes/event_steps.html' %} |
|
||||||
{% endwith %} |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="ed-back"> |
|
||||||
<a href="/{{ filter|generate_url:'event' }}">{{ object_list.0.name|safe }}</a> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="i-sub-articles"> |
|
||||||
<ul> |
|
||||||
{% for service in object_list.0.get_services %} |
|
||||||
<li><a href="#">{{ service.name }}</a></li> |
|
||||||
{% endfor %} |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
|
|
||||||
{% endblock %} |
|
||||||
{% endblock %} |
|
||||||
|
|
||||||
{% endblock %} |
|
||||||
|
|
||||||
@ -1,17 +0,0 @@ |
|||||||
<!DOCTYPE html> |
|
||||||
<html> |
|
||||||
<head> |
|
||||||
<title></title> |
|
||||||
</head> |
|
||||||
<body> |
|
||||||
|
|
||||||
<ul> |
|
||||||
{% for exposition in object_list %} |
|
||||||
<li>{{ exposition.name }}</li> |
|
||||||
{% endfor %} |
|
||||||
</ul> |
|
||||||
{{ filter }} |
|
||||||
|
|
||||||
|
|
||||||
</body> |
|
||||||
</html> |
|
||||||
@ -0,0 +1,26 @@ |
|||||||
|
{% extends 'base_catalog.html' %} |
||||||
|
{% load i18n %} |
||||||
|
|
||||||
|
{% block bread_scrumbs %} |
||||||
|
<div class="bread-crumbs"> |
||||||
|
<a href="/">{% trans 'Главная страница' %}</a> |
||||||
|
<a href="{{ object.catalog }}">{% trans 'Выставки' %}</a> |
||||||
|
<a href="{{ object.catalog }}country/{{ object.country.url }}/">{{ object.country }}</a> |
||||||
|
<a href="{{ object.catalog }}city/{{ object.city.url }}/">{{ object.city }}</a> |
||||||
|
<a href="{{ object.get_permanent_url }}">{{ object.name }}</a> |
||||||
|
<strong>{% trans 'Фото' %}</strong> |
||||||
|
</div> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
|
||||||
|
{% block page_title %} |
||||||
|
|
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
{% block content_list %} |
||||||
|
{% include 'client/includes/exposition/photo.html' with object=object %} |
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
{% block paginator %} |
||||||
|
{% include 'client/includes/catalog_paginator.html' with page_obj=page_obj %} |
||||||
|
{% endblock %} |
||||||
@ -0,0 +1,79 @@ |
|||||||
|
{% load static %} |
||||||
|
{% load i18n %} |
||||||
|
{% load template_filters %} |
||||||
|
|
||||||
|
|
||||||
|
{% block page_body %} |
||||||
|
<div class="m-article cl-photos"> |
||||||
|
<div class="cl-item"> |
||||||
|
<div class="cl-item-wrap clearfix"> |
||||||
|
<div class="cli-pict"> |
||||||
|
<a href="{{ object.get_permanent_url }}"> |
||||||
|
{% with obj=object %} |
||||||
|
{% include 'client/includes/show_logo.html' %} |
||||||
|
{% endwith %} |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="cli-info"> |
||||||
|
<div class="cli-top clearfix"> |
||||||
|
<header> |
||||||
|
<div class="cli-title"> |
||||||
|
<a href="{{ object.get_permanent_url }}">{{ object.name|safe }}</a> |
||||||
|
</div> |
||||||
|
</header> |
||||||
|
{% if object.main_title %} |
||||||
|
<div class="cli-descr"> |
||||||
|
{{ object.main_title|safe }} |
||||||
|
</div> |
||||||
|
{% endif %} |
||||||
|
|
||||||
|
</div> |
||||||
|
<div class="cli-bot clearfix"> |
||||||
|
<div class="cli-place"> |
||||||
|
<a href="{{ object.catalog }}{{ object.country.url }}/">{{ object.country.name }}</a>, <a href="{{ object.catalog }}{{ object.city.url }}/">{{ object.city.name }}</a> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div id="cli-pg" class="cli-photo-gallery"> |
||||||
|
<ul class="clearfix"> |
||||||
|
{% with object_list=object_list %} |
||||||
|
{% for photo in object_list %} |
||||||
|
<li> |
||||||
|
<a class="open-photo" href="#" > |
||||||
|
<img src="{{ photo.get_client_thumbnail_url }}" data-image-id="{{ photo.id }}"/> |
||||||
|
<span class="pg-title">{{ photo.caption }}</span> |
||||||
|
</a> |
||||||
|
</li> |
||||||
|
{% endfor %} |
||||||
|
{% endwith %} |
||||||
|
|
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
{% block photogallery %} |
||||||
|
{% include 'client/popups/photo.html' %} |
||||||
|
{% endblock %} |
||||||
|
{% block scripts %} |
||||||
|
<script src="{% static 'client/js_min/_modules/page.place.photo.min.js' %}"></script> |
||||||
|
|
||||||
|
<script> |
||||||
|
//js module initialization |
||||||
|
EXPO.placePhoto.init({ |
||||||
|
ajaxUrl:'/gallery/show/photo/', |
||||||
|
galleryContainerId:'cli-pg', |
||||||
|
nextButtonId:'pgpc-next', |
||||||
|
prevButtonId:'pgpc-prev', |
||||||
|
closeModalButtonId:'pg-close', |
||||||
|
modalId:'pw-gallery', |
||||||
|
modalContainerId:'popup-gallery-id', |
||||||
|
modalTrigger:'open-photo' |
||||||
|
}); |
||||||
|
</script> |
||||||
|
{% endblock %} |
||||||
@ -0,0 +1,79 @@ |
|||||||
|
{% load static %} |
||||||
|
{% load i18n %} |
||||||
|
{% load template_filters %} |
||||||
|
|
||||||
|
|
||||||
|
{% block page_body %} |
||||||
|
<div class="m-article cl-photos"> |
||||||
|
<div class="cl-item"> |
||||||
|
<div class="cl-item-wrap clearfix"> |
||||||
|
<div class="cli-pict"> |
||||||
|
<a href="{{ object.get_permanent_url }}"> |
||||||
|
{% with obj=object %} |
||||||
|
{% include 'client/includes/show_logo.html' %} |
||||||
|
{% endwith %} |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="cli-info"> |
||||||
|
<div class="cli-top clearfix"> |
||||||
|
<header> |
||||||
|
<div class="cli-title"> |
||||||
|
<a href="{{ object.get_permanent_url }}">{{ object.name|safe }}</a> |
||||||
|
</div> |
||||||
|
</header> |
||||||
|
{% if object.main_title %} |
||||||
|
<div class="cli-descr"> |
||||||
|
{{ object.main_title|safe }} |
||||||
|
</div> |
||||||
|
{% endif %} |
||||||
|
|
||||||
|
</div> |
||||||
|
<div class="cli-bot clearfix"> |
||||||
|
<div class="cli-place"> |
||||||
|
<a href="{{ object.catalog }}{{ object.country.url }}/">{{ object.country.name }}</a>, <a href="{{ object.catalog }}{{ object.city.url }}/">{{ object.city.name }}</a> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div id="cli-pg" class="cli-photo-gallery"> |
||||||
|
<ul class="clearfix"> |
||||||
|
{% with object_list=object_list %} |
||||||
|
{% for photo in object_list %} |
||||||
|
<li> |
||||||
|
<a class="open-photo" href="#" > |
||||||
|
<img src="{{ photo.get_client_thumbnail_url }}" data-image-id="{{ photo.id }}"/> |
||||||
|
<span class="pg-title">{{ photo.caption }}</span> |
||||||
|
</a> |
||||||
|
</li> |
||||||
|
{% endfor %} |
||||||
|
{% endwith %} |
||||||
|
|
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
{% block photogallery %} |
||||||
|
{% include 'client/popups/photo.html' %} |
||||||
|
{% endblock %} |
||||||
|
{% block scripts %} |
||||||
|
<script src="{% static 'client/js_min/_modules/page.place.photo.min.js' %}"></script> |
||||||
|
|
||||||
|
<script> |
||||||
|
//js module initialization |
||||||
|
EXPO.placePhoto.init({ |
||||||
|
ajaxUrl:'/gallery/show/photo/', |
||||||
|
galleryContainerId:'cli-pg', |
||||||
|
nextButtonId:'pgpc-next', |
||||||
|
prevButtonId:'pgpc-prev', |
||||||
|
closeModalButtonId:'pg-close', |
||||||
|
modalId:'pw-gallery', |
||||||
|
modalContainerId:'popup-gallery-id', |
||||||
|
modalTrigger:'open-photo' |
||||||
|
}); |
||||||
|
</script> |
||||||
|
{% endblock %} |
||||||
@ -1,47 +0,0 @@ |
|||||||
{% load i18n %} |
|
||||||
{% load template_filters %} |
|
||||||
|
|
||||||
{% if page_obj.paginator.num_pages > 1 %} |
|
||||||
<div class="pagination clearfix"> |
|
||||||
<div class="pg-info"> Показано {{ page_obj.start_index }} - {{ page_obj.end_index }} <i>(всего {{ page_obj.paginator.count }} позиций)</i></div> |
|
||||||
<div class="pg-body"> |
|
||||||
{% if page_obj.has_previous %} |
|
||||||
<a class="pg-prev" href="/{{ filter|generate_url }}/{{ page_obj.previous_page_number }}">Предыдущая</a> |
|
||||||
{% else %} |
|
||||||
<a class="pg-prev disabled" href="#">Предыдущая</a> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
<ul> |
|
||||||
{% if page_obj.number > 2 %} |
|
||||||
<li><a href="/{{ filter|generate_url }}/{{ 1 }} ">{{ 1 }}</a></li> |
|
||||||
{% if page_obj.number > 3 %} |
|
||||||
<li>...</li> |
|
||||||
{% endif %} |
|
||||||
{% endif %} |
|
||||||
{% if page_obj.has_previous %} |
|
||||||
<li><a href="/{{ filter|generate_url }}/{{ page_obj.previous_page_number }} ">{{ page_obj.previous_page_number }}</a></li> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
<li><b>{{ page_obj.number }}</b></li> |
|
||||||
|
|
||||||
{% if page_obj.has_next %} |
|
||||||
<li><a href="/{{ filter|generate_url }}/{{ page_obj.next_page_number }} ">{{ page_obj.next_page_number }}</a></li> |
|
||||||
{% endif %} |
|
||||||
{% if page_obj.paginator.num_pages|subtract:page_obj.number > 1 %} |
|
||||||
{% if page_obj.paginator.num_pages|subtract:page_obj.number > 2 %} |
|
||||||
<li>...</li> |
|
||||||
{% endif %} |
|
||||||
<li><a href="/{{ filter|generate_url }}/{{ page_obj.paginator.num_pages }} ">{{ page_obj.paginator.num_pages }}</a></li> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
</ul> |
|
||||||
|
|
||||||
{% if page_obj.has_next %} |
|
||||||
<a class="pg-next" href="/{{ filter|generate_url }}/{{ page_obj.next_page_number }}">Следующая</a> |
|
||||||
{% else %} |
|
||||||
<a class="pg-next disabled" href="#">Следующая</a> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
{% endif %} |
|
||||||
Loading…
Reference in new issue