{% load static i18n %} {% load thumbnail %} {% load template_filters %} {% block page_body %}

{% if exposition.main_title %} {{ exposition.name|safe }} - {{ exposition.main_title|lowfirst|safe }} {% else %} {{ exposition.name|safe }} {% endif %}

{% with obj=exposition %} {% include 'client/includes/show_date_block.html' %} {% endwith %} {% include "client/includes/sharing_block.html" %}
{% if exposition.place %}
{{ exposition.place.country }}, {{ exposition.place.city }}, {% if exposition.place.web_page %} {{ exposition.place.name }} {% else %} {{ exposition.place.name }} {% endif %}
{# #}
{% else %}
{{ exposition.country.name }}, {{ exposition.city.name }}{% if exposition.place_alt %} , {{ exposition.place_alt }}{% endif %}
{% endif %}

{% with event=exposition user=user %} {% include 'client/includes/visit_button.html' %} {% endwith %} {% include 'client/includes/calendar_button.html' with obj=exposition %} {% if request.user.is_admin %} {% trans 'изменить' %} {% endif %}

{% with tags=exposition.tags %} {% for tag in tags %} {{ tag.name }}{% if forloop.counter != tags|length %},{% endif %} {% endfor %} {% endwith %}
{# TODO: в data-background подставить crop 937x244 #}
{% trans 'Посетителю' %} {% trans 'Экспоненту' %} {# TODO: Эта кнопка только для платных выставок #} {% trans 'Официальный сайт' %}
{# {% include 'client/includes/event_steps.html' with event=exposition %}#} {# Описание выставки #}

{% trans 'О выставке' %} {{ exposition.name|safe }}

{% if exposition.description %}
{{ exposition.description|safe }}
{% elif default_description %}
{{ default_description|safe }}
{% else %} {% include "client/includes/exposition/default_description.html" with expo=exposition className="expo_description_detail" %} {% endif %}
{# TODO: здесь должен быть баннер, проверить его вывод #} {% include 'client/includes/banners/expo_detail.html' %}
{# Дополнительная информация #}
{% trans 'Дополнительная информация' %}
{% if exposition.organiser.all.exists %}
{% trans 'Организатор' %}:
{% with organisers=exposition.organiser.all %} {% for organiser in organisers %} {{ organiser.name }}
{% endfor %} {% endwith %}
{% else %} {% if exposition.org %} {% for item in exposition.org_split %}
{% if forloop.counter == 1 %}{% trans 'Организатор' %}:{% endif %}
{{ item }}
{% endfor %} {% endif %} {% endif %} {% if exposition.web_page %}
{% trans 'Веб-сайт' %}:
{{ exposition.web_page }}
{% endif %} {% if exposition.get_audience %}
{% trans 'Аудитория' %}:
{{ exposition.get_audience }}
{% endif %} {% if exposition.get_periodic %}
{% trans 'Периодичность' %}:
{{ exposition.get_periodic }}
{% endif %} {% if exposition.products %}
{% trans 'Экспонируемые продукты' %}:
{{ exposition.products|safe }}
{% endif %} {% if exposition.time %}
{% trans 'Время работы' %}:
{{ exposition.time|safe }}
{% endif %}

{% include 'client/includes/booking_block.html' with city=exposition.city place=exposition.place event=exposition %} {# Планируют быть #}
{% with visitors=exposition.users.all|slice:":17" %}

{% trans 'Планируют быть на' %} {{ exposition.name }}

{% trans 'Пока никто не отметился на событии.' %}

{% trans 'Все посетители' %}

{% endwith %} {% with event=exposition user=user %} {% include 'client/includes/visit_button.html' %} {% endwith %}
{# Слайдер фото с прошлой выставки #} {% if exposition.get_photos %} {% with photos=exposition.get_photos %}

{% trans 'Фотографии с прошлой конференции' %}

{% for photo in photos %} {% thumbnail photo.image '936x468' crop="center" as im %} {% endthumbnail %} {% endfor %}
{% for photo in photos %} {% thumbnail photo.image '137x95' crop="center" as im %} {% endthumbnail %} {% endfor %}
{% endwith %} {% endif %} {% comment %}

{% include 'client/includes/banners/detail_inner.html' %}
{% endcomment %}
{% include "client/includes/article/articles_in_event.html" with event=exposition news_list=news %}
{% if exposition.members or exposition.visitors or exposition.foundation_year or exposition.area %}
{% if exposition.area %}
{% trans 'Общая выставочная площадь' %}
{{ exposition.area }} {% trans 'м²' %}
{% endif %}
{% if exposition.members %}
{{ exposition.members }} {% trans 'участников' %}
{% endif %} {% if exposition.visitors %}
{{ exposition.visitors }} {% trans 'посетителей' %}
{% endif %} {% if exposition.foundation_year %}
{% trans 'Основано в' %} {{ exposition.foundation_year }} {% trans 'году' %}
{% endif %}
{% endif %}

{% trans 'Комментарии' %}

{% for comment in comments %}
{{ comment.user.get_full_name }}
{{ comment.text }}
{% trans "Ответить на комментарий" %} {% for answer in comment.childs %}
{{ answer.user.get_full_name }}
{{ answer.text }}
{% endfor %}
{% endfor %} {% if user.is_authenticated %}
{% csrf_token %} {# {{ commentform.as_p }}#}

{% trans 'Оставьте свой отзыв:' %}

{% else %} {% endif %}
{% include 'client/includes/sharing_block_full.html' %}
{# TODO: подставить яндекс метрику #} {% if exposition.get_nearest_events %}
{% trans 'Другие выставки, которые могут быть вам интересны' %} {# TODO: заголовок должен быть "Ближайшие выставки по тематике «Маркетинг, реклама, PR»" #}
{% endif %} {# TODO: подставить еще одну рекламу #} {% include 'client/includes/banners/detail_inner_3.html' %}
{% trans 'Смотрите также:' %}
{% trans "Выставки" %} {% if request.LANGUAGE_CODE == 'ru' and exposition.city.inflect %}{{ exposition.city.inflect }}{% else %}{% trans 'in' %} {{ exposition.city.name }}{% endif %} {% trans "Выставки" %} {% if request.LANGUAGE_CODE == 'ru' and exposition.country.inflect %}{{ exposition.country.inflect }}{% else %}{% trans 'in' %} {{ exposition.country.name }}{% endif %} {% if exposition.theme.all %} {% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.country.inflect %}{{ exposition.country.inflect }}{% else %}{% trans 'in' %} {{ exposition.country.name }}{% endif %} {% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.city.inflect %}{{ exposition.city.inflect }}{% else %}{% trans 'in' %} {{ exposition.city.name }}{% endif %} {% endif %}
{% endblock %} {% block content_text %} {% endblock %} {% block popup %} {% include 'client/popups/advertise_member.html' with form=advertising_form %} {% include 'client/popups/event_news_subscribe.html' %} {% endblock %} {% block scripts %} {% if request.GET.debug == '1' %} {% else %} {% endif %} {% endblock %}