@ -7,28 +7,28 @@
< div class = "m-article event-page" >
< div class = "item-wrap event clearfix" >
< aside >
{% if exposition.expohit %}
< div class = "hit" > < / div >
{% endif %}
< div class = "i-pict" >
{% with obj=exposition %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
< / div >
< div class = "i-stats" >
{% if exposition.visitors %}
< span class = "visitors" title = "Посетители" > {{ exposition.visitors }}< / span >
{% endif %}
{% if exposition.members %}
< span class = "participants" title = "Участники" > {{ exposition.members }}< / span >
{% endif %}
< / div >
< div class = "i-discount" >
{% if exposition.discount %}
< a class = "discount-button" href = "#" > {% trans 'Скидка' %} -{{ exposition.discount }}%< / a >
< div class = "dsc-text" > {{ exposition.discount_description|safe|linebreaks }}< / div >
{% endif %}
< / div >
{% if exposition.expohit %}
< div class = "hit" > < / div >
{% endif %}
< div class = "i-pict" >
{% with obj=exposition %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
< / div >
< div class = "i-stats" >
{% if exposition.visitors %}
< span class = "visitors" title = "Посетители" > {{ exposition.visitors }}< / span >
{% endif %}
{% if exposition.members %}
< span class = "participants" title = "Участники" > {{ exposition.members }}< / span >
{% endif %}
< / div >
< div class = "i-discount" >
{% if exposition.discount %}
< a class = "discount-button" href = "#" > {% trans 'Скидка' %} -{{ exposition.discount }}%< / a >
< div class = "dsc-text" > {{ exposition.discount_description|safe|linebreaks }}< / div >
{% endif %}
< / div >
{% if exposition.paid_new.logo %}
< div class = "paid-partner-block" >
< p class = "partner-title" > {% trans 'Организатор' %}< / p >
@ -37,28 +37,28 @@
< / div >
< / div >
{% endif %}
< / aside >
< / aside >
< div class = "i-info" >
< header >
< h1 class = "i-title" >
{% if exposition.main_title %}
< header >
< h1 class = "i-title" >
{% if exposition.main_title %}
{{ exposition.name|safe }} - {{ exposition.main_title|lowfirst|safe }}
{% else %}
{{ exposition.name|safe }}
{% endif %}
< / h1 >
< / header >
{% else %}
{{ exposition.name|safe }}
{% endif %}
< / h1 >
< / header >
< div class = "i-date" >
{% with obj=exposition %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
< div class = "i-date" >
{% with obj=exposition %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
{% include "client/includes/sharing_block.html" %}
< / div >
< / div >
{% if exposition.place %}
{% if exposition.place %}
< div class = "i-address" >
< header >
< div class = "address" >
@ -73,57 +73,57 @@
< div class = "map-canvas" id = "map-canvas" data-coords = "{{ exposition.place.address.lat|coord_format }},{{ exposition.place.address.lng|coord_format }}" > < / div >
< / div >
< / div >
{% endif %}
{% endif %}
< div class = "event_org" >
< a href = "#pw-event-news-subscribe" class = "button pw-open new_subribe_btn" > < i class = "fa fa-at" > < / i > {% trans 'Подписаться на новости' %}< / a >
< / div >
< hr / >
< div class = "i-buttons clearfix" >
< div class = "ib-main" >
{% with event=exposition user=user %}
{% include 'client/includes/visit_button.html' %}
{% endwith %}
{% include 'client/includes/calendar_button.html' with obj=object %}
< div class = "{% if request.user.is_authenticated%}note-wrap{% else %}note-wrap-disabled{% endif %}" >
{% with note=object|note_by_user:request.user %}
< a class = "button green icon-note {% if note %}active{% endif %} note-button" href = "/expo/add-note/{{ obj.url }}/" > {% trans 'заметка' %}< / a >
< div class = "note-overlay" >
< form action = "" >
< textarea name = "note_text" class = "note-text" > {{ note }}< / textarea >
< / form >
< / div >
{% endwith %}
< / div >
{% if request.user.is_admin %}
< a class = "button green " href = "/admin/exposition/{{ object.url }}/" > {% trans 'изменить' %}< / a >
{% endif %}
< hr / >
< div class = "i-buttons clearfix" >
< div class = "ib-main" >
{% with event=exposition user=user %}
{% include 'client/includes/visit_button.html' %}
{% endwith %}
{% include 'client/includes/calendar_button.html' with obj=object %}
< div class = "{% if request.user.is_authenticated%}note-wrap{% else %}note-wrap-disabled{% endif %}" >
{% with note=object|note_by_user:request.user %}
< a class = "button green icon-note {% if note %}active{% endif %} note-button" href = "/expo/add-note/{{ obj.url }}/" > {% trans 'заметка' %}< / a >
< div class = "note-overlay" >
< form action = "" >
< textarea name = "note_text" class = "note-text" > {{ note }}< / textarea >
< / form >
< / div >
{% endwith %}
< / div >
{% if request.user.is_admin %}
< a class = "button green " href = "/admin/exposition/{{ object.url }}/" > {% trans 'изменить' %}< / a >
{% endif %}
{% if exposition.photogallery_id %}
< a class = "button blue icon-photo" href = "{{ exposition.get_permanent_url }}photo/" > {% trans 'фото' %}< / a >
{% endif %}
< / div >
< div class = "ib-add" > < a class = "button blue2 icon-find" href = "http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ object.city.id }}" > {% trans 'Найти отель' %}< / a > < / div >
< / div >
< hr / >
< div class = "i-divs clearfix" >
< div class = "i-subj" >
< ul >
{% with themes=exposition.theme.all %}
{% for theme in themes %}
< li > < a href = "{{ object.catalog }}theme/{{ theme.url }}/" > {{ theme.name }} ({{ theme.expositions_number }})< / a > < / li >
{% endfor %}
{% endwith %}
< / ul >
< / div >
< div class = "i-tags" >
{% with tags=exposition.tag.all %}
{% for tag in tags %}
< a href = "{{ object.catalog }}tag/{{ tag.url }}/" > {{ tag.name }}< / a > {% if forloop.counter != tags|length %},{% endif %}
{% endfor %}
{% endwith %}
< / div >
< / div >
< / div >
< / div >
< div class = "ib-add" > < a class = "button blue2 icon-find" href = "http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ object.city.id }}" > {% trans 'Найти отель' %}< / a > < / div >
< / div >
< hr / >
< div class = "i-divs clearfix" >
< div class = "i-subj" >
< ul >
{% with themes=exposition.theme.all %}
{% for theme in themes %}
< li > < a href = "{{ object.catalog }}theme/{{ theme.url }}/" > {{ theme.name }} ({{ theme.expositions_number }})< / a > < / li >
{% endfor %}
{% endwith %}
< / ul >
< / div >
< div class = "i-tags" >
{% with tags=exposition.tag.all %}
{% for tag in tags %}
< a href = "{{ object.catalog }}tag/{{ tag.url }}/" > {{ tag.name }}< / a > {% if forloop.counter != tags|length %},{% endif %}
{% endfor %}
{% endwith %}
< / div >
< / div >
< / div >
< / div >
< p > < a href = "#pw-event-news-subscribe" class = "button pw-open" > < i class = "fa fa-at" > < / i > {% trans 'Подписаться на новости' %}< / a > < i > {% blocktrans with name=exposition.name|safe %}Получайте актуальную информацию о выставке {{ name }} на свой email{% endblocktrans %}< / i > < / p >
@ -332,7 +332,7 @@
< / div >
{% include 'client/includes/booking_block.html' with city=exposition.city place=exposition.place event=exposition %}
< hr / >
< hr / >
{% if exposition.get_nearest_events %}
< div class = "e-cat" >
@ -411,7 +411,7 @@
{% endblock %}
{% block popup %}
{% include 'client/popups/advertise_member.html' with form=advertising_form %}
{% include 'client/popups/advertise_member.html' with form=advertising_form %}
{% include 'client/popups/issue_organizer.html' %}
{% include 'client/popups/event_news_subscribe.html' %}
{% endblock %}