|
|
|
@ -2,6 +2,12 @@ |
|
|
|
{% load i18n %} |
|
|
|
{% load i18n %} |
|
|
|
{% load thumbnail %} |
|
|
|
{% load thumbnail %} |
|
|
|
{% load template_filters %} |
|
|
|
{% load template_filters %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block styles %} |
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"> |
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{% 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"> |
|
|
|
@ -72,7 +78,11 @@ |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<hr /> |
|
|
|
<hr /> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-buttons clearfix"> |
|
|
|
<div class="i-buttons clearfix"> |
|
|
|
<div class="ib-main"> |
|
|
|
<div class="ib-main"> |
|
|
|
{% with event=event user=user %} |
|
|
|
{% with event=event user=user %} |
|
|
|
@ -98,7 +108,9 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ib-add"><a target="_blank" 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 target="_blank" 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"> |
|
|
|
<div class="i-subj"> |
|
|
|
<div class="i-subj"> |
|
|
|
<ul> |
|
|
|
<ul> |
|
|
|
@ -110,7 +122,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="i-tags"> |
|
|
|
<div class="i-tags grey"> |
|
|
|
{% 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 %} |
|
|
|
@ -118,32 +130,13 @@ |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
</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 %} |
|
|
|
|
|
|
|
{% with photos=event.get_photos|slice:"5" %} |
|
|
|
<hr> |
|
|
|
<hr /> |
|
|
|
|
|
|
|
<div class="i-photo-slides"> |
|
|
|
<div class="i-event-description conference_about"> |
|
|
|
<div class="sect-title"><a href="#">{% trans 'Фотографии с прошлой конференции' %}</a></div> |
|
|
|
|
|
|
|
<div id="ps-photo-gallery" class="ps-photo-gallery swiper-container"> |
|
|
|
|
|
|
|
<ul class="swiper-wrapper"> |
|
|
|
|
|
|
|
{% for photo in photos %} |
|
|
|
|
|
|
|
<li class="swiper-slide"> |
|
|
|
|
|
|
|
<img src="{{ photo.get_display_url }}" alt="" /> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
<div class="re-controls"> |
|
|
|
|
|
|
|
<a class="prev" href="#"><</a> |
|
|
|
|
|
|
|
<a class="next" href="#">></a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
<div class="i-event-description"> |
|
|
|
|
|
|
|
<h2 class="ied-title">{% if event.event_type == 'expo' %}{% trans 'О выставке' %}{% else %}{% trans 'О конференции' %}{% endif %} {{ event.name|safe }}</h2> |
|
|
|
<h2 class="ied-title">{% if event.event_type == 'expo' %}{% trans 'О выставке' %}{% else %}{% trans 'О конференции' %}{% endif %} {{ event.name|safe }}</h2> |
|
|
|
{% if event.description %} |
|
|
|
{% if event.description %} |
|
|
|
<div class="ied-text">{{ event.description|safe }}</div> |
|
|
|
<div class="ied-text">{{ event.description|safe }}</div> |
|
|
|
@ -154,7 +147,64 @@ |
|
|
|
{# {% include "client/includes/conference/default_description.html" with conf=event %} #} |
|
|
|
{# {% include "client/includes/conference/default_description.html" with conf=event %} #} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% with speakers=event.speakers.all %} |
|
|
|
|
|
|
|
{% if speakers %} |
|
|
|
|
|
|
|
<div class="connference_speakers"> |
|
|
|
|
|
|
|
<h3>{% trans 'Спикеры' %}</h3> |
|
|
|
|
|
|
|
<div class="speakers_slider"> |
|
|
|
|
|
|
|
{% for speaker in speakers %} |
|
|
|
|
|
|
|
<div class="speaker"> |
|
|
|
|
|
|
|
<div class="speaker_img"> |
|
|
|
|
|
|
|
{% thumbnail speaker.photo '196x139' crop="center" as im %} |
|
|
|
|
|
|
|
<img src="{{ im.url }}" alt="img"> |
|
|
|
|
|
|
|
{% endthumbnail %} |
|
|
|
|
|
|
|
<div class="overlay"> |
|
|
|
|
|
|
|
<span> |
|
|
|
|
|
|
|
{{ speaker.company|default:'' }} <br> {{ speaker.position|default:'' }} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>{{ speaker.fullname }}</h5> |
|
|
|
|
|
|
|
<span>{{ speaker.company|default:'' }}</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hr> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if event.get_photos %} |
|
|
|
|
|
|
|
{% with photos=event.get_photos|slice:"5" %} |
|
|
|
|
|
|
|
<div class="i-photo-slides"> |
|
|
|
|
|
|
|
<h2>{% trans 'Фотографии с прошлой конференции' %}</h2> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="last_photos_slider"> |
|
|
|
|
|
|
|
{% for photo in photos %} |
|
|
|
|
|
|
|
{% thumbnail photo.image '936x468' crop="center" as im %} |
|
|
|
|
|
|
|
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt="" /> |
|
|
|
|
|
|
|
{% endthumbnail %} |
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="last_photos_thumbs"> |
|
|
|
|
|
|
|
{% for photo in photos %} |
|
|
|
|
|
|
|
{% thumbnail photo.image '137x95' crop="center" as im %} |
|
|
|
|
|
|
|
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt="" /> |
|
|
|
|
|
|
|
{% endthumbnail %} |
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
<hr /> |
|
|
|
<hr /> |
|
|
|
|
|
|
|
|
|
|
|
<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"> |
|
|
|
@ -409,4 +459,35 @@ |
|
|
|
removeCalendarText:"{% trans 'Из расписания' %}" |
|
|
|
removeCalendarText:"{% trans 'Из расписания' %}" |
|
|
|
}); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
$(window).load(function(){ |
|
|
|
|
|
|
|
$('.speakers_slider').slick({ |
|
|
|
|
|
|
|
slidesToShow: 4, |
|
|
|
|
|
|
|
slidesToScroll: 1, |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.last_photos_slider').slick({ |
|
|
|
|
|
|
|
slidesToShow: 1, |
|
|
|
|
|
|
|
slidesToScroll: 1, |
|
|
|
|
|
|
|
// arrows: false, |
|
|
|
|
|
|
|
fade: true, |
|
|
|
|
|
|
|
asNavFor: '.last_photos_thumbs' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.last_photos_thumbs').slick({ |
|
|
|
|
|
|
|
slidesToShow: 5, |
|
|
|
|
|
|
|
slidesToScroll: 1, |
|
|
|
|
|
|
|
asNavFor: '.last_photos_slider', |
|
|
|
|
|
|
|
dots: false, |
|
|
|
|
|
|
|
variableWidth: true, |
|
|
|
|
|
|
|
// centerMode: true |
|
|
|
|
|
|
|
focusOnSelect: true |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
</script> |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|