{% extends 'client/base_catalog.html' %} {% load i18n static %} {% load template_filters %} {% block bread_scrumbs %} {% endblock %} {% block page_title %}{% endblock %} {% block content_list %}

{{ object.name|safe }}

{{ object.description.strip|safe|linebreaks|truncatechars:1500 }}
{% if object.description.strip|linebreaks|length|str_to_int > 1500 %} {% trans 'Далее...' %} {% endif %} {% if object.address %} {% else %}
{% endif %}
{% include 'client/includes/place/place_services.html' with place=object %}
{% if object.photogallery %} {% with photos=object.photogallery.photos.all|slice:"5" %}

{% trans 'Фотогалерея' %}

{% endwith %} {% endif %} {# place_info #}
{% if object.place == 'place_exposition' and object.total_area %}
{% trans 'Общая выставочная площадь' %}
{{ object.total_area|int_format }} м²
{% endif %} {# TODO: request optization #} {% if object.closed_area and object.open_area %}
{% if object.closed_area %}
{{ object.closed_area|int_format }} {% trans 'м²' %} {% trans 'закрытая выставочная площадь' %}
{% endif %} {% if object.open_area %}
{{ object.open_area|int_format }} {% trans 'м²' %} {% trans 'открытая выставочная площадь' %}
{% endif %}
{% endif %} {# TODO: request optimization #} {% if object.halls.count %}
    {% for hall in object.halls.all %} {% if not forloop.counter|divisibleby:"2" %}
  • {{ hall.name }} {% if hall.number %} №{{ hall.number }} {% endif %} — {{ hall.capacity }} м2
  • {% endif %} {% endfor %}
    {% for hall in object.halls.all %} {% if forloop.counter|divisibleby:"2" %}
  • {{ hall.name }} {% if hall.number %} №{{ hall.number }} {% endif %} — {{ hall.capacity }} м2
  • {% endif %} {% endfor %}
{% endif %} {% if object.total_year_action %}
{% trans 'Ежегодно проводится' %}
{% if object.total_year_action.isdigit %} {% ifequal LANGUAGE_CODE 'ru' %} {% load pymorphy_tags %} {{ object.total_year_action }} {{ "событие"|plural:object.total_year_action }} {% else %} {{ object.total_year_action }} {% trans 'событий' %} {% endifequal %} {% else %} {{ object.total_year_action }} {% endif %}
{% endif %} {% if object.foundation_year %}
{% trans 'Основано в' %} {{ object.foundation_year }} {% trans 'году' %}
{% endif %}
{% if object.get_scheme %}

{% trans 'Схема павильонов' %}

{% for scheme in object.get_scheme %} {% ifequal scheme.file_path.url|slice:"-3:" 'pdf' %} {% trans 'Схема в pdf' %} {% else %}
{% endifequal %}
{% endfor %}
{% endif %}

{% trans 'Контактная информация' %}

{{ object.adress }}
    {% if object.phone %}
  • {{ object.phone|phone }} ({% trans 'телефон' %})
  • {% endif %} {% if object.fax %}
  • {{ object.fax|phone }} ({% trans 'факс' %})
  • {% endif %}
{% if object.events %}

{% trans 'События' %} {{ object.name|safe }} {% trans 'Все события' %}

{% endif %}
{% include 'client/includes/booking_block.html' with city=object.city place=object %}

{% include 'client/includes/banners/detail_inner.html' %}
{% if object.get_nearest_places %}

{% trans 'Ближайшие выставочные центры' %}

{% endif %} {% include 'client/includes/banners/detail_inner_3.html' %}
{% if request.GET.debug == '1' %} {% else %} {% endif %} {% endblock %} {% block paginator %}{% endblock %}