-
- {% if place.place == 'place_exposition' %}
- {% if place.total_area %}
-
-
{% trans 'Общая выставочная площадь' %}
-
{{ place.total_area|int_format }} м²
-
- {% endif %}
- {% else %}
- {% comment %}
- {% if place.total_capacity %}
-
-
{% trans 'Общая вместимость' %}
-
{{ place.total_capacity|int_format }}
-
- {% endif %}
- {% endcomment %}
- {% endif %}
-
-
- {% if place.closed_area %}
-
- {{ place.closed_area|int_format }} {% trans 'м²' %}
- {% trans 'закрытая выставочная площадь' %}
-
- {% endif %}
- {% if place.open_area %}
-
- {{ place.open_area|int_format }} {% trans 'м²' %}
- {% trans 'открытая выставочная площадь' %}
-
- {% endif %}
-
-
-
-
- {% for hall in place.halls.all %}
- {% if not forloop.counter|divisibleby:"2" %}
- - {{ hall.name }} {% if hall.number %} №{{ hall.number }} {% endif %} — {{ hall.capacity }} м2
- {% endif %}
- {% endfor %}
-
-
-
-
- {% for hall in place.halls.all %}
- {% if forloop.counter|divisibleby:"2" %}
- - {{ hall.name }} {% if hall.number %} №{{ hall.number }} {% endif %} — {{ hall.capacity }} м2
- {% endif %}
- {% endfor %}
-
-
-
-
- {% if place.total_year_action %}
-
-
- {% trans 'Ежегодно проводится' %}
-
-
- {% if place.total_year_action.isdigit %}
- {% ifequal LANGUAGE_CODE 'ru' %}
- {% load pymorphy_tags %}
- {{ place.total_year_action }}
- {{ "событие"|plural:place.total_year_action }}
- {% else %}
- {{ place.total_year_action }}
- {% trans 'событий' %}
- {% endifequal %}
-
- {% else %}
- {{ place.total_year_action }}
- {% endif %}
-
-
- {% endif %}
- {% if place.foundation_year %}
-
-
{% trans 'Основано в' %} {{ place.foundation_year }} {% trans 'году' %}
-
- {% endif %}
-
\ No newline at end of file
diff --git a/templates/client/includes/place/place_object.html b/templates/client/includes/place/place_object.html
deleted file mode 100644
index 0ace3dce..00000000
--- a/templates/client/includes/place/place_object.html
+++ /dev/null
@@ -1,241 +0,0 @@
-{% load static %}
-{% load i18n %}
-{% load template_filters %}
-{% block page_body %}
-
-
-
-
-
-
- {{ place.name|safe }}
-
-
- {{ place.description.strip|safe|linebreaks|truncatewords:20 }}
-
-
{% trans 'Далее...' %}
-
- {{ place.description.strip|safe|linebreaks }}
-
- {% if place.address %}
-
-
-
- {{ place.adress }}
-
-
-
-
-
- {% else %}
-
- {% endif %}
-
-
-
- {% include 'client/includes/place/place_services.html' with place=place %}
-
- {% if place.photogallery %}
- {% with photos=place.photogallery.photos.all|slice:"5" %}
-
-
{% trans 'Фотогалерея' %}
-
-
- {% for photo in photos %}
- -
-
-
- {% endfor %}
-
-
-
-
- {% endwith %}
- {% endif %}
-
- {% include 'client/includes/place/place_info.html' with place=place %}
-
- {% if place.get_scheme %}
-
-
-
{% trans 'Схема павильонов' %}
- {% for scheme in place.get_scheme %}
- {% ifequal scheme.file_path.url|slice:"-3:" 'pdf' %}
-
{% trans 'Схема в pdf' %}
- {% else %}
-
- {% endifequal %}
-
- {% endfor %}
-
- {% endif %}
-
-
- {% if place.events %}
-
-
{% trans 'Список событий' %}
-
- {% for event in place.events %}
- -
-
-
- {% endfor %}
-
-
- {% endif %}
-
- {% include 'client/includes/booking_block.html' with city=place.city place=place %}
-
-
-
- {% include 'client/includes/banners/detail_inner.html' %}
-
- {% if place.get_nearest_places %}
-
-
{% trans 'Ближайшие выставочные центры' %}
-
- {% for pl in place.get_nearest_places %}
- -
-
-
- {% endfor %}
-
-
- {% endif %}
- {% include 'client/includes/banners/detail_inner_3.html' %}
-
-{% endblock %}
-
-{% block scripts %}
-{% if request.GET.debug == '1' %}
-
-{% else %}
-
-{% endif %}
-
-{% endblock %}
diff --git a/templates/client/place/place_detail.html b/templates/client/place/place_detail.html
index 923bf6de..77fa4715 100644
--- a/templates/client/place/place_detail.html
+++ b/templates/client/place/place_detail.html
@@ -1,4 +1,4 @@
-{% extends 'base_catalog.html' %}
+{% extends 'client/base_catalog.html' %}
{% load i18n static %}
{% load template_filters %}
@@ -17,270 +17,354 @@
{% block content_list %}
+