|
|
|
|
@ -2,6 +2,12 @@ |
|
|
|
|
{% load i18n %} |
|
|
|
|
{% load thumbnail %} |
|
|
|
|
{% 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 %} |
|
|
|
|
<div class="m-article event-page"> |
|
|
|
|
<div class="item-wrap event clearfix"> |
|
|
|
|
@ -122,27 +128,34 @@ |
|
|
|
|
</div> |
|
|
|
|
{% include 'client/includes/conference/conference_services.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" %} |
|
|
|
|
<hr /> |
|
|
|
|
<div class="i-photo-slides"> |
|
|
|
|
<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> |
|
|
|
|
<div class="i-photo-slides"> |
|
|
|
|
<div class="sect-title">{% trans 'Фотографии с прошлой конференции' %}</div> |
|
|
|
|
|
|
|
|
|
<div class="last_photos_slider"> |
|
|
|
|
{% for photo in photos %} |
|
|
|
|
{{ photo.get_display_url }} |
|
|
|
|
{% thumbnail photo.get_display_url '936x468' crop="center" as im %} |
|
|
|
|
<img src="{{ im.url }}" alt="" /> |
|
|
|
|
{% endthumbnail %} |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="last_photos_thumbs"> |
|
|
|
|
{% for photo in photos %} |
|
|
|
|
{% thumbnail photo '137x95' crop="center" as im %} |
|
|
|
|
<img src="{{ im.url }}" alt="" /> |
|
|
|
|
{% endthumbnail %} |
|
|
|
|
{% endfor %} |
|
|
|
|
</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> |
|
|
|
|
{% if event.description %} |
|
|
|
|
@ -154,7 +167,9 @@ |
|
|
|
|
{# {% include "client/includes/conference/default_description.html" with conf=event %} #} |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<hr /> |
|
|
|
|
|
|
|
|
|
<div class="i-event-additional clearfix"> |
|
|
|
|
<div class="sect-title">{% trans 'Дополнительная информация' %}</div> |
|
|
|
|
<ul class="e-docs"> |
|
|
|
|
@ -218,6 +233,34 @@ |
|
|
|
|
{% include "client/includes/article/articles_in_event.html" with event=event news_list=news %} |
|
|
|
|
<hr /> |
|
|
|
|
|
|
|
|
|
{% 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> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
<div class="i-members clearfix"> |
|
|
|
|
<div class="im-participants"> |
|
|
|
|
{% with companies=event.company.all|slice:":6" %} |
|
|
|
|
@ -409,4 +452,15 @@ |
|
|
|
|
removeCalendarText:"{% trans 'Из расписания' %}" |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.js"></script> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
$(function () { |
|
|
|
|
$('.speakers_slider').slick({ |
|
|
|
|
slidesToShow: 4, |
|
|
|
|
slidesToScroll: 1, |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
{% endblock %} |
|
|
|
|
|