diff --git a/templates/client/includes/exposition/exposition_object.html b/templates/client/includes/exposition/exposition_object.html index a2962adc..e5fc759c 100644 --- a/templates/client/includes/exposition/exposition_object.html +++ b/templates/client/includes/exposition/exposition_object.html @@ -2,283 +2,249 @@ {% load i18n %} {% load thumbnail %} {% load template_filters %} - {% block page_body %} -
-
- - -
-
-
- {% if exposition.main_title %} - {{ exposition.main_title|safe }} {{ exposition.name|safe }} - {% else %} - {{ exposition.name|safe }} - {% endif %} -
-
- -
- {% with obj=exposition %} - {% include 'client/includes/show_date_block.html' %} - {% endwith %} -
- {% if exposition.place %} -
-
-
- {{ exposition.place.adress }} -
- -
- - -
- {% endif %} -
-
-
- {% with event=exposition user=user %} - {% include 'client/includes/visit_button.html' %} - {% endwith %} - {% include 'client/includes/calendar_button.html' with obj=object %} -
- {% with note=object|note_by_user:request.user %} - {% trans 'заметка' %} -
-
- -
-
- {% endwith %} -
- - {% if request.user.is_admin %} - {% trans 'изменить' %} - {% endif %} - -
- - - -
-
-
-
- -
- -
- {% with tags=exposition.tag.all %} - {% for tag in tags %} - {{ tag.name }}{% if forloop.counter != tags|length %},{% endif %} - {% endfor %} - {% endwith %} - -
-
-
-
- {% include 'client/includes/exposition/exposition_services.html' %} - - {% include 'includes/event_steps.html' with event=exposition %} - - {% if exposition.get_photos %} - {% with photos=exposition.get_photos|slice:"5" %} -
- -
- - +
+
{% if exposition.area %} {% else %} {% if exposition.members or exposition.visitors or exposition.foundation_year %} @@ -286,21 +252,16 @@ {% endif %} {% endif %} {% 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 %} @@ -313,89 +274,78 @@
{% endif %} - - -
- - {% include 'client/includes/booking_block.html' with city=exposition.city place=exposition.place %} - -
- {% if exposition.get_nearest_events|slice:":6" %} -
-
{% trans 'Ближайшие выставки по тематике' %} «{{ exposition.theme.all.0 }}»
- -
- {% endif %} - -
-
{% 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 %} - {% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|lower }}» {% 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|lower }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.city.inflect %}{{ exposition.city.inflect }}{% else %}{% trans 'in' %} {{ exposition.city.name }}{% endif %} -
- + {% include 'client/includes/booking_block.html' with city=exposition.city place=exposition.place %} +
+ {% if exposition.get_nearest_events|slice:":6" %} +
+
{% trans 'Ближайшие выставки по тематике' %} «{{ exposition.theme.all.0 }}»
+ +
+ {% endif %} +
+
{% 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 %} + {% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|lower }}» {% 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|lower }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.city.inflect %}{{ exposition.city.inflect }}{% else %}{% trans 'in' %} {{ exposition.city.name }}{% endif %} +
{% endblock %} {% block content_text %} {% endblock %} - {% block popup %} {% include 'client/popups/advertise_member.html' with form=advertising_form %} {% endblock %} {% block scripts %} - - +{% if request.GET.debug == '1' %} +{% else %} + +{% endif %} {% endblock %} \ No newline at end of file