You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
170 lines
5.8 KiB
170 lines
5.8 KiB
{% 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 %}
|
|
|
|
|