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.
91 lines
3.2 KiB
91 lines
3.2 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="#">Скидка -{{ 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">
|
|
{{ object_list.0.main_title|safe }}
|
|
</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>
|
|
|
|
<div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="ed-back">
|
|
<a href="/{{ filter|generate_url:"event" }}">{{ object_list.0 }}</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 %} |