|
|
|
@ -48,16 +48,6 @@ |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="i-stats"> |
|
|
|
|
|
|
|
{% if exposition.visitors %} |
|
|
|
|
|
|
|
<span class="visitors" title="{% trans 'Посетители' %}">{{ exposition.visitors }}</span> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if exposition.members %} |
|
|
|
|
|
|
|
<span class="participants" title="{% trans 'Участники' %}">{{ exposition.members }}</span> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="i-discount"> |
|
|
|
<div class="i-discount"> |
|
|
|
{% if exposition.discount %} |
|
|
|
{% if exposition.discount %} |
|
|
|
<a class="discount-button" href="#">{% trans 'Скидка' %} -{{ exposition.discount }}%</a> |
|
|
|
<a class="discount-button" href="#">{% trans 'Скидка' %} -{{ exposition.discount }}%</a> |
|
|
|
@ -174,7 +164,7 @@ |
|
|
|
{# Описание выставки #} |
|
|
|
{# Описание выставки #} |
|
|
|
<div class="expo_description"> |
|
|
|
<div class="expo_description"> |
|
|
|
<h2>{% trans 'О выставке' %} {{ exposition.name|safe }}</h2> |
|
|
|
<h2>{% trans 'О выставке' %} {{ exposition.name|safe }}</h2> |
|
|
|
<aside class="right_grey_block"> |
|
|
|
<aside class="right_grey_block" id="expo_statistics"> |
|
|
|
{% if object.members and object.visitors %} |
|
|
|
{% if object.members and object.visitors %} |
|
|
|
<h4>{% trans 'Масштаб выставки:' %}</h4> |
|
|
|
<h4>{% trans 'Масштаб выставки:' %}</h4> |
|
|
|
<div class="exposition_members"> |
|
|
|
<div class="exposition_members"> |
|
|
|
@ -496,8 +486,7 @@ |
|
|
|
</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 %} |
|
|
|
@ -510,6 +499,7 @@ |
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<script src="{% static 'client/js_min/_modules/page.exposition.object.min.js' %}"></script> |
|
|
|
<script src="{% static 'client/js_min/_modules/page.exposition.object.min.js' %}"></script> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
EXPO.exposition.object.init({ |
|
|
|
EXPO.exposition.object.init({ |
|
|
|
visit:{ |
|
|
|
visit:{ |
|
|
|
@ -553,6 +543,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
$(function() { |
|
|
|
$(function() { |
|
|
|
var $recommended = $('#recommended_expositions'), |
|
|
|
var $recommended = $('#recommended_expositions'), |
|
|
|
|
|
|
|
$statistics = $('#expo_statistics'), |
|
|
|
$text = $('.expo_description_detail'), |
|
|
|
$text = $('.expo_description_detail'), |
|
|
|
$main_image = $('.exposition_main_image'); |
|
|
|
$main_image = $('.exposition_main_image'); |
|
|
|
|
|
|
|
|
|
|
|
@ -563,6 +554,10 @@ |
|
|
|
if ($main_image.data('background')) { |
|
|
|
if ($main_image.data('background')) { |
|
|
|
$main_image.css('background', 'url(' + $main_image.data('background') + ')'); |
|
|
|
$main_image.css('background', 'url(' + $main_image.data('background') + ')'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($statistics.children().length > 1) { |
|
|
|
|
|
|
|
$statistics.show(); |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|