|
|
|
@ -2,7 +2,6 @@ |
|
|
|
{% load i18n %} |
|
|
|
{% load i18n %} |
|
|
|
{% load thumbnail %} |
|
|
|
{% load thumbnail %} |
|
|
|
{% load template_filters %} |
|
|
|
{% load template_filters %} |
|
|
|
|
|
|
|
|
|
|
|
{% block page_body %} |
|
|
|
{% block page_body %} |
|
|
|
<div class="m-article event-page"> |
|
|
|
<div class="m-article event-page"> |
|
|
|
<div class="item-wrap event clearfix"> |
|
|
|
<div class="item-wrap event clearfix"> |
|
|
|
@ -15,9 +14,6 @@ |
|
|
|
{% include 'client/includes/show_logo.html' %} |
|
|
|
{% include 'client/includes/show_logo.html' %} |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- |
|
|
|
|
|
|
|
<div class="i-rating" title="Рейтинг: 551">551</div> |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
<div class="i-stats"> |
|
|
|
<div class="i-stats"> |
|
|
|
{% if event.visitors %} |
|
|
|
{% if event.visitors %} |
|
|
|
<span class="visitors" title="Посетители">{{ event.visitors }}</span> |
|
|
|
<span class="visitors" title="Посетители">{{ event.visitors }}</span> |
|
|
|
@ -26,7 +22,6 @@ |
|
|
|
<span class="participants" title="Участники">{{ event.members }}</span> |
|
|
|
<span class="participants" title="Участники">{{ event.members }}</span> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-discount"> |
|
|
|
<div class="i-discount"> |
|
|
|
{% if event.discount %} |
|
|
|
{% if event.discount %} |
|
|
|
<a class="discount-button" href="#">{% trans 'Скидка' %} -{{ event.discount }}%</a> |
|
|
|
<a class="discount-button" href="#">{% trans 'Скидка' %} -{{ event.discount }}%</a> |
|
|
|
@ -34,7 +29,6 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</aside> |
|
|
|
</aside> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-info"> |
|
|
|
<div class="i-info"> |
|
|
|
<header> |
|
|
|
<header> |
|
|
|
<div class="i-title"> |
|
|
|
<div class="i-title"> |
|
|
|
@ -45,7 +39,6 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-date"> |
|
|
|
<div class="i-date"> |
|
|
|
{% with obj=event %} |
|
|
|
{% with obj=event %} |
|
|
|
{% include 'client/includes/show_date_block.html' %} |
|
|
|
{% include 'client/includes/show_date_block.html' %} |
|
|
|
@ -59,7 +52,6 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="show-map"><a class="toggle-map" href="#">{% trans 'Раскрыть карту' %}</a></div> |
|
|
|
<div class="show-map"><a class="toggle-map" href="#">{% trans 'Раскрыть карту' %}</a></div> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-map"> |
|
|
|
<div class="i-map"> |
|
|
|
<div class="close-map"><a class="toggle-map" href="#">{% trans 'Скрыть карту' %}</a> |
|
|
|
<div class="close-map"><a class="toggle-map" href="#">{% trans 'Скрыть карту' %}</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -84,15 +76,11 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% if request.user.is_admin %} |
|
|
|
{% if request.user.is_admin %} |
|
|
|
<a class="button green " href="/admin/conference/{{ object.url }}/">{% trans 'изменить' %}</a> |
|
|
|
<a class="button green " href="/admin/conference/{{ object.url }}/">{% trans 'изменить' %}</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="ib-add"><a class="button blue2 icon-find" href="http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ object.city.id }}">{% trans 'Найти отель' %}</a></div> |
|
|
|
<div class="ib-add"><a class="button blue2 icon-find" href="http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ object.city.id }}">{% trans 'Найти отель' %}</a></div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<hr /> |
|
|
|
<hr /> |
|
|
|
<div class="i-divs clearfix"> |
|
|
|
<div class="i-divs clearfix"> |
|
|
|
@ -106,26 +94,21 @@ |
|
|
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-tags"> |
|
|
|
<div class="i-tags"> |
|
|
|
{% with tags=event.tag.all %} |
|
|
|
{% with tags=event.tag.all %} |
|
|
|
{% for tag in tags %} |
|
|
|
{% for tag in tags %} |
|
|
|
<a href="{{ object.catalog }}tag/{{ tag.url }}/">{{ tag.name }}</a>{% if forloop.counter != tags|length %},{% endif %} |
|
|
|
<a href="{{ object.catalog }}tag/{{ tag.url }}/">{{ tag.name }}</a>{% if forloop.counter != tags|length %},{% endif %} |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% include 'client/includes/conference/conference_services.html' with event=event %} |
|
|
|
{% include 'client/includes/conference/conference_services.html' with event=event %} |
|
|
|
|
|
|
|
|
|
|
|
{% include 'includes/event_steps.html' with event=event %} |
|
|
|
{% include 'includes/event_steps.html' with event=event %} |
|
|
|
|
|
|
|
|
|
|
|
{% if event.get_photos %} |
|
|
|
{% if event.get_photos %} |
|
|
|
{% with photos=event.get_photos|slice:"5" %} |
|
|
|
{% with photos=event.get_photos|slice:"5" %} |
|
|
|
<hr /> |
|
|
|
<hr /> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-photo-slides"> |
|
|
|
<div class="i-photo-slides"> |
|
|
|
<div class="sect-title"><a href="#">{% trans 'Фотографии с прошлой конференции' %}</a></div> |
|
|
|
<div class="sect-title"><a href="#">{% trans 'Фотографии с прошлой конференции' %}</a></div> |
|
|
|
<div id="ps-photo-gallery" class="ps-photo-gallery swiper-container"> |
|
|
|
<div id="ps-photo-gallery" class="ps-photo-gallery swiper-container"> |
|
|
|
@ -146,7 +129,6 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if event.description %} |
|
|
|
{% if event.description %} |
|
|
|
<div class="i-event-description"> |
|
|
|
<div class="i-event-description"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="ied-title">{% if event.event_type == 'expo' %}{% trans 'О выставке' %}{% else %}{% trans 'О конференции' %}{% endif %} {{ event.name|safe }}</div> |
|
|
|
<div class="ied-title">{% if event.event_type == 'expo' %}{% trans 'О выставке' %}{% else %}{% trans 'О конференции' %}{% endif %} {{ event.name|safe }}</div> |
|
|
|
<div class="ied-text">{{ event.description|safe|linebreaks }}</div> |
|
|
|
<div class="ied-text">{{ event.description|safe|linebreaks }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -155,7 +137,6 @@ |
|
|
|
<div class="i-event-additional clearfix"> |
|
|
|
<div class="i-event-additional clearfix"> |
|
|
|
<div class="sect-title">{% trans 'Дополнительная информация' %}</div> |
|
|
|
<div class="sect-title">{% trans 'Дополнительная информация' %}</div> |
|
|
|
<ul class="e-docs"> |
|
|
|
<ul class="e-docs"> |
|
|
|
|
|
|
|
|
|
|
|
{% if event.business_program.exists %} |
|
|
|
{% if event.business_program.exists %} |
|
|
|
<li><a href="{{ event.get_permanent_url }}program/">{% trans 'Деловая программа' %}</a></li> |
|
|
|
<li><a href="{{ event.get_permanent_url }}program/">{% trans 'Деловая программа' %}</a></li> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
@ -178,27 +159,21 @@ |
|
|
|
<a target="_blank" href="#" data-type="href" data-hash="1qwer" data-url="{{ event.web_page|base64_encode }}" class="link-encode">{{ event.web_page }}</a> |
|
|
|
<a target="_blank" href="#" data-type="href" data-hash="1qwer" data-url="{{ event.web_page|base64_encode }}" class="link-encode">{{ event.web_page }}</a> |
|
|
|
</dd> |
|
|
|
</dd> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if event.get_audience %} |
|
|
|
{% if event.get_audience %} |
|
|
|
<dt>{% trans 'Аудитория' %}:</dt> |
|
|
|
<dt>{% trans 'Аудитория' %}:</dt> |
|
|
|
<dd> |
|
|
|
<dd> |
|
|
|
{{ event.get_audience }} |
|
|
|
{{ event.get_audience }} |
|
|
|
</dd> |
|
|
|
</dd> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if event.get_periodic %} |
|
|
|
{% if event.get_periodic %} |
|
|
|
<dt>{% trans 'Периодичность' %}:</dt> |
|
|
|
<dt>{% trans 'Периодичность' %}:</dt> |
|
|
|
<dd>{{ event.get_periodic }}</dd> |
|
|
|
<dd>{{ event.get_periodic }}</dd> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if event.time %} |
|
|
|
{% if event.time %} |
|
|
|
<dt>{% trans 'Время работы' %}:</dt> |
|
|
|
<dt>{% trans 'Время работы' %}:</dt> |
|
|
|
<dd>{{ event.time|safe }}</dd> |
|
|
|
<dd>{{ event.time|safe }}</dd> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
</dl> |
|
|
|
</dl> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<hr /> |
|
|
|
<hr /> |
|
|
|
<div class="i-members clearfix"> |
|
|
|
<div class="i-members clearfix"> |
|
|
|
@ -208,12 +183,10 @@ |
|
|
|
{# есть участники #} |
|
|
|
{# есть участники #} |
|
|
|
<header> |
|
|
|
<header> |
|
|
|
<div class="im-title">{% trans 'Спикеры' %}</div> |
|
|
|
<div class="im-title">{% trans 'Спикеры' %}</div> |
|
|
|
|
|
|
|
|
|
|
|
<a class="more" href="{{ event.get_permanent_url }}members/">{% trans 'Все спикеры' %}</a> |
|
|
|
<a class="more" href="{{ event.get_permanent_url }}members/">{% trans 'Все спикеры' %}</a> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
<ul> |
|
|
|
<ul> |
|
|
|
{% for company in companies %} |
|
|
|
{% for company in companies %} |
|
|
|
|
|
|
|
|
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<a href="{{ company.get_permanent_url }}"> |
|
|
|
<a href="{{ company.get_permanent_url }}"> |
|
|
|
<span class="imp-pict"> |
|
|
|
<span class="imp-pict"> |
|
|
|
@ -232,7 +205,6 @@ |
|
|
|
<header> |
|
|
|
<header> |
|
|
|
<div class="im-title">{% trans 'Спикеры' %}</div> |
|
|
|
<div class="im-title">{% trans 'Спикеры' %}</div> |
|
|
|
<p>{% trans 'Привлекайте целевых посетителей на стенд' %}</p> |
|
|
|
<p>{% trans 'Привлекайте целевых посетителей на стенд' %}</p> |
|
|
|
<!--//todo: обработчик--> |
|
|
|
|
|
|
|
<p><a href="#pw-advertise" class="button icon-up pw-open" >{% trans 'Рекламировать спикера' %}</a></p> |
|
|
|
<p><a href="#pw-advertise" class="button icon-up pw-open" >{% trans 'Рекламировать спикера' %}</a></p> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
@ -255,28 +227,19 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<a id="somebody" class=" more mb-1em {% if visitors|length > 0 %}{%else%}hidden{% endif %}" href="{{ event.get_permanent_url }}visitors/">{% trans 'Все посетители' %}</a> |
|
|
|
<a id="somebody" class=" more mb-1em {% if visitors|length > 0 %}{%else%}hidden{% endif %}" href="{{ event.get_permanent_url }}visitors/">{% trans 'Все посетители' %}</a> |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
|
|
<p id="nobody" class=" mb-1em {% if event.users.all|length > 0 %}hidden{% else %}{% endif %}">{% trans 'Пока никто не отметился на событии.' %}</p> |
|
|
|
<p id="nobody" class=" mb-1em {% if event.users.all|length > 0 %}hidden{% else %}{% endif %}">{% trans 'Пока никто не отметился на событии.' %}</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% with event=event user=user %} |
|
|
|
{% with event=event user=user %} |
|
|
|
{% include 'client/includes/visit_button.html' %} |
|
|
|
{% include 'client/includes/visit_button.html' %} |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hr/> |
|
|
|
<hr/> |
|
|
|
|
|
|
|
|
|
|
|
{% if event.members or event.visitors or event.foundation_year %} |
|
|
|
{% if event.members or event.visitors or event.foundation_year %} |
|
|
|
<div class="e-num-info"> |
|
|
|
<div class="e-num-info"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="eni-stats"> |
|
|
|
<div class="eni-stats"> |
|
|
|
|
|
|
|
|
|
|
|
{% if event.members %} |
|
|
|
{% if event.members %} |
|
|
|
<div class="enis-item"><b>{{ event.members }}</b> {% trans 'участников' %}</div> |
|
|
|
<div class="enis-item"><b>{{ event.members }}</b> {% trans 'участников' %}</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
@ -289,13 +252,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% include 'client/includes/booking_block.html' with city=event.city place=event.place %} |
|
|
|
{% include 'client/includes/booking_block.html' with city=event.city place=event.place %} |
|
|
|
|
|
|
|
|
|
|
|
<hr /> |
|
|
|
<hr /> |
|
|
|
{% if event.get_nearest_events|slice:":6" %} |
|
|
|
{% if event.get_nearest_events|slice:":6" %} |
|
|
|
<div class="e-cat"> |
|
|
|
<div class="e-cat"> |
|
|
|
@ -309,7 +267,6 @@ |
|
|
|
{% with obj=exp %} |
|
|
|
{% with obj=exp %} |
|
|
|
{% include 'client/includes/show_logo.html' %} |
|
|
|
{% include 'client/includes/show_logo.html' %} |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<div class="cli-info"> |
|
|
|
<div class="cli-info"> |
|
|
|
@ -348,9 +305,6 @@ |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
<!-- |
|
|
|
|
|
|
|
<div class="abn"><a href="#"><img src="{% static 'client/img/_del-temp/banner-2.gif' %}" alt="" /></a></div> |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
<div class="e-cat look-also"> |
|
|
|
<div class="e-cat look-also"> |
|
|
|
<div class="sect-title">{% trans 'Смотрите также:' %}</div> |
|
|
|
<div class="sect-title">{% trans 'Смотрите также:' %}</div> |
|
|
|
<a href="{{ event.catalog }}city/{{ event.city.url }}/">{% trans "Конференции" %} {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}</a> |
|
|
|
<a href="{{ event.catalog }}city/{{ event.city.url }}/">{% trans "Конференции" %} {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}</a> |
|
|
|
@ -358,18 +312,18 @@ |
|
|
|
<a href="{{ event.catalog }}theme/{{ event.theme.all.0.url }}/country/{{ event.country.url }}/">{% trans "Конференции по тематике " %}«{{ event.theme.all.0.name|lower }}» {% if request.LANGUAGE_CODE == 'ru' and event.country.inflect %}{{ event.country.inflect }}{% else %}{% trans 'in' %} {{ event.country.name }}{% endif %}</a> |
|
|
|
<a href="{{ event.catalog }}theme/{{ event.theme.all.0.url }}/country/{{ event.country.url }}/">{% trans "Конференции по тематике " %}«{{ event.theme.all.0.name|lower }}» {% if request.LANGUAGE_CODE == 'ru' and event.country.inflect %}{{ event.country.inflect }}{% else %}{% trans 'in' %} {{ event.country.name }}{% endif %}</a> |
|
|
|
<a href="{{ event.catalog }}theme/{{ event.theme.all.0.url }}/city/{{ event.city.url }}/">{% trans "Конференции по тематике " %}«{{ event.theme.all.0.name|lower }}» {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}</a> |
|
|
|
<a href="{{ event.catalog }}theme/{{ event.theme.all.0.url }}/city/{{ event.city.url }}/">{% trans "Конференции по тематике " %}«{{ event.theme.all.0.name|lower }}» {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
{% block content_text %} |
|
|
|
{% block content_text %} |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{% block popup %} |
|
|
|
{% block popup %} |
|
|
|
{% include 'client/popups/advertise_member.html' with form=advertising_form %} |
|
|
|
{% include 'client/popups/advertise_member.html' with form=advertising_form %} |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
{% block scripts %} |
|
|
|
{% block scripts %} |
|
|
|
<!-- todo: вернуть .min--> |
|
|
|
{% if request.GET.debug == '1' %} |
|
|
|
<!--<script src="{% static 'client/js' %}{% if debug %}/{% else %}_min/{% endif %}_modules/page.exposition.object{% if debug %}{% else %}.min{% endif %}.js"></script>--> |
|
|
|
|
|
|
|
<script src="{% static 'client/js/_modules/page.exposition.object.js' %}"></script> |
|
|
|
<script src="{% static 'client/js/_modules/page.exposition.object.js' %}"></script> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
|
|
|
|
<script src="{% static 'client/js_min/_modules/page.exposition.object.min.js' %}"></script> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
EXPO.exposition.object.init({ |
|
|
|
EXPO.exposition.object.init({ |
|
|
|
visit:{ |
|
|
|
visit:{ |
|
|
|
|