From 698e96ab92166d41c66227acdaa46c7fd3d86679 Mon Sep 17 00:00:00 2001 From: pavel Date: Tue, 21 Apr 2015 10:44:41 +0000 Subject: [PATCH] EXPO-25 includes/place/place_object.html --- .../client/includes/place/place_object.html | 640 +++++++++--------- 1 file changed, 303 insertions(+), 337 deletions(-) diff --git a/templates/client/includes/place/place_object.html b/templates/client/includes/place/place_object.html index ffc4b032..ddc2d037 100644 --- a/templates/client/includes/place/place_object.html +++ b/templates/client/includes/place/place_object.html @@ -1,379 +1,345 @@ {% load static %} {% load i18n %} {% load template_filters %} - - {% block page_body %} -
-
- - -
-
-
- {{ place.name|safe }} -
-
- {{ place.description.strip|safe|linebreaks|truncatewords:20 }} -
- {% trans 'Далее...' %} - - {% if place.address %} -
-
-
- {{ place.adress }} -
- -
- - -
- +
+
+
+ {{ place.name|safe }} +
+
+ {{ place.description.strip|safe|linebreaks|truncatewords:20 }} +
+ {% trans 'Далее...' %} + + {% if place.address %} +
+
+
+ {{ place.adress }} +
+ +
+ -
- {% else %} -
- {% endif %} -
-
-
- -
-
Услуги
-
-
    - {% if place.bank %} -
  • {% trans 'Банк / банкоматы / обмен валюты' %}
  • - {% endif %} - {% if place.wifi %} -
  • Wi-Fi
  • - {% endif %} - {% if place.children_room %} -
  • {% trans 'Детская комната' %}
  • - {% endif %} - {% if place.disabled_service %} -
  • {% trans 'Сервис для инвалидов' %}
  • - {% endif %} -
-
    - {% if place.conference_centre %} -
  • {% trans 'Конгресс-центр' %}
  • - {% endif %} - {% if place.business_centre %} -
  • {% trans 'Бизнес-центр' %}
  • - {% endif %} - {% if place.online_registration %} -
  • {% trans 'Онлайн-регистрация' %}
  • - {% endif %} - {% if place.cafe %} -
  • {% trans 'Кафе и рестораны' %}
  • - {% endif %} -
-
    - {% if place.terminals %} -
  • {% trans 'Информационные терминалы' %}
  • - {% endif %} - {% if place.parking %} -
  • {% trans 'Парковка' %}
  • - {% endif %} - {% if place.press_centre %} -
  • {% trans 'Пресс-центр' %}
  • - {% endif %} - {% if place.mobile_application %} -
  • {% trans 'Мобильное приложение' %}
  • - {% endif %} -
-
-
-
- {% if place.photogallery %} - {% with photos=place.photogallery.photos.all|slice:"5" %} -
-
{% trans 'Фотогалерея' %}
- -
- {% endwith %} - {% endif %} -
- {% if place.total_area %} -
+
+ {% else %} +
+ {% endif %} +
+
+
+
+
Услуги
+
+
    + {% if place.bank %} +
  • {% trans 'Банк / банкоматы / обмен валюты' %}
  • + {% endif %} + {% if place.wifi %} +
  • Wi-Fi
  • + {% endif %} + {% if place.children_room %} +
  • {% trans 'Детская комната' %}
  • + {% endif %} + {% if place.disabled_service %} +
  • {% trans 'Сервис для инвалидов' %}
  • + {% endif %} +
+
    + {% if place.conference_centre %} +
  • {% trans 'Конгресс-центр' %}
  • + {% endif %} + {% if place.business_centre %} +
  • {% trans 'Бизнес-центр' %}
  • + {% endif %} + {% if place.online_registration %} +
  • {% trans 'Онлайн-регистрация' %}
  • + {% endif %} + {% if place.cafe %} +
  • {% trans 'Кафе и рестораны' %}
  • + {% endif %} +
+
    + {% if place.terminals %} +
  • {% trans 'Информационные терминалы' %}
  • + {% endif %} + {% if place.parking %} +
  • {% trans 'Парковка' %}
  • + {% endif %} + {% if place.press_centre %} +
  • {% trans 'Пресс-центр' %}
  • + {% endif %} + {% if place.mobile_application %} +
  • {% trans 'Мобильное приложение' %}
  • + {% endif %} +
+
+
+
+ {% if place.photogallery %} + {% with photos=place.photogallery.photos.all|slice:"5" %} +
+
{% trans 'Фотогалерея' %}
+ +
+ {% endwith %} + {% endif %} +
+ {% if place.total_area %} +
{% trans 'Общая выставочная площадь' %}
{{ place.total_area|int_format }} м²
-
- {% endif %} - +
+ {% endif %}
- {% if place.closed_area %} + {% if place.closed_area %}
{{ place.closed_area|int_format }} {% trans 'м²' %} {% trans 'закрытая выставочная площадь' %}
- {% endif %} - {% if place.open_area %} + {% endif %} + {% if place.open_area %}
{{ place.open_area|int_format }} {% trans 'м²' %} {% trans 'открытая выставочная площадь' %} -
- {% endif %} +
+ {% 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 %} -
+
+
+
    + {% 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 %} + {% 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 %} +
+ {% endif %} {% if place.foundation_year %} -
- -
{% trans 'Основано в' %} {{ place.foundation_year }} {% trans 'году' %}
- -
+
+
{% trans 'Основано в' %} {{ place.foundation_year }} {% trans 'году' %}
+
{% endif %} - -
- {% 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 %} -
-
{% trans 'Контактная информация' %}
-
-
-
{{ place.adress }}
- -
- -
-
    - {% if place.phone %} -
  • {{ place.phone|phone }} ({% trans 'телефон' %})
  • - {% endif %} - {% if place.fax %} -
  • {{ place.fax|phone }} ({% trans 'факс' %})
  • - {% endif %} -
+
+ {% 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 %} +
+
{% trans 'Контактная информация' %}
+
+
+
{{ place.adress }}
+
+
+
    + {% if place.phone %} +
  • {{ place.phone|phone }} ({% trans 'телефон' %})
  • + {% endif %} + {% if place.fax %} +
  • {{ place.fax|phone }} ({% trans 'факс' %})
  • + {% endif %} +
+
+
+
+
+ {% if place.events %} +
+
{% trans 'Список событий' %}
+
- {% if place.events %} -
-
{% trans 'Список событий' %}
-
+
+
{% if event.visitors %} {{ event.visitors }}{% endif %} {% if event.members %}{{ event.members }}{% endif %}
-
- {% with obj=event %} - {% include 'client/includes/show_tags.html' %} - {% endwith %} -
+ {% with obj=event %} + {% include 'client/includes/show_tags.html' %} + {% endwith %} +
+ {% endfor %} + + + {% endif %} +
+ {% include 'client/includes/booking_block.html' with city=place.city place=place %} +
+ {% if place.get_nearest_places %} +
+
{% trans 'Ближайшие выставочные центры' %}
+ -
- {% endif %} -
- {% include 'client/includes/booking_block.html' with city=place.city place=place %} -
- - {% if place.get_nearest_places %} -
-
{% trans 'Ближайшие выставочные центры' %}
- -
- {% endif %} - + +
+ {% if pl.total_area %} +
{{ pl.total_area }}
+ {% endif %} + +
+ + + + {% endfor %} + + + {% endif %} {% endblock %} {% block scripts %} +{% if request.GET.debug == '1' %} - +{% else %} + +{% endif %} {% endblock %} \ No newline at end of file