@ -3,74 +3,74 @@
{% load thumbnail %}
{% load template_filters %}
{% block page_body %}
< div class = "m-article event-page" >
< div class = "item-wrap event clearfix" >
< aside >
{% if event.expohit %}
< div class = "hit" > < / div >
{% endif %}
< div class = "m-article event-page" >
< div class = "item-wrap event clearfix" >
< aside >
{% if event.expohit %}
< div class = "hit" > < / div >
{% endif %}
{% if event.canceled %}
< div class = "cancel" > < / div >
{% endif %}
< div class = "i-pict" >
{% with obj=event %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
< / div >
< div class = "i-stats" >
{% if event.visitors %}
< span class = "visitors" title = "{% trans 'Посетители' %}" > {{ event.visitors }}< / span >
{% endif %}
{% if event.members %}
< span class = "participants" title = "{% trans 'Участники' %}" > {{ event.members }}< / span >
{% endif %}
< / div >
< div class = "i-discount" >
{% if event.discount %}
< a class = "discount-button" href = "#" > {% trans 'Скидка' %} -{{ event.discount }}%< / a >
< div class = "dsc-text" > {{ event.discount_description|safe|linebreaks }}< / div >
{% endif %}
< / div >
{% if event.paid_new.logo %}
< div class = "paid-partner-block" >
< p class = "partner-title" > {% trans 'Организатор' %}< / p >
< div class = "i-pict" >
< img src = "{{ event.paid_new.logo.url }}" class = "pic" alt = "" >
< / div >
< / div >
{% endif %}
< / aside >
< div class = "i-info" >
< header >
< h1 class = "i-title" >
{% if event.main_title %}
{{ event.name|safe }} - {{ event.main_title|lowfirst|safe }}
{% else %}
{{ event.name|safe }}
{% endif %}
< / h1 >
< / header >
< div class = "i-date" >
{% with obj=event %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
< div class = "i-pict" >
{% with obj=event %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
< / div >
< div class = "i-stats" >
{% if event.visitors %}
< span class = "visitors" title = "{% trans 'Посетители' %}" > {{ event.visitors }}< / span >
{% endif %}
{% if event.members %}
< span class = "participants" title = "{% trans 'Участники' %}" > {{ event.members }}< / span >
{% endif %}
< / div >
< div class = "i-discount" >
{% if event.discount %}
< a class = "discount-button" href = "#" > {% trans 'Скидка' %} -{{ event.discount }}%< / a >
< div class = "dsc-text" > {{ event.discount_description|safe|linebreaks }}< / div >
{% endif %}
< / div >
{% if event.paid_new.logo %}
< div class = "paid-partner-block" >
< p class = "partner-title" > {% trans 'Организатор' %}< / p >
< div class = "i-pict" >
< img src = "{{ event.paid_new.logo.url }}" class = "pic" alt = "" >
< / div >
< / div >
{% endif %}
< / aside >
< div class = "i-info" >
< header >
< h1 class = "i-title" >
{% if event.main_title %}
{{ event.name|safe }} - {{ event.main_title|lowfirst|safe }}
{% else %}
{{ event.name|safe }}
{% endif %}
< / h1 >
< / header >
< div class = "i-date" >
{% with obj=event %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
{% include "client/includes/sharing_block.html" %}
< / div >
{% if event.place %}
< div class = "i-address" >
< header >
< div class = "address" >
{{ event.place.adress }}
< / div >
< div class = "show-map" > < a class = "toggle-map" href = "#" > {% trans 'Раскрыть карту' %}< / a > < / div >
< / header >
< div class = "i-map" >
< div class = "close-map" > < a class = "toggle-map" href = "#" > {% trans 'Скрыть карту' %}< / a >
< / div >
< div class = "map-canvas" id = "map-canvas" data-coords = "{{ event.place.address.lat|stringformat:'f' }},{{ event.place.address.lng|stringformat:'f' }}" > < / div >
< / div >
< / div >
{% include "client/includes/sharing_block.html" %}
< / div >
{% if event.place %}
< div class = "i-address" >
< header >
< div class = "address" >
{{ event.place.adress }}
< / div >
< div class = "show-map" > < a class = "toggle-map" href = "#" > {% trans 'Раскрыть карту' %}< / a > < / div >
< / header >
< div class = "i-map" >
< div class = "close-map" > < a class = "toggle-map" href = "#" > {% trans 'Скрыть карту' %}< / a >
< / div >
< div class = "map-canvas" id = "map-canvas" data-coords = "{{ event.place.address.lat|stringformat:'f' }},{{ event.place.address.lng|stringformat:'f' }}" > < / div >
< / div >
< / div >
{% else %}
< div class = "i-address" >
< header >
@ -79,60 +79,60 @@
< / div >
< / header >
< / div >
{% endif %}
< hr / >
< div class = "i-buttons clearfix" >
< div class = "ib-main" >
{% with event=event 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/conference/{{ object.url }}/" > {% trans 'изменить' %}< / a >
{% endif %}
{% endif %}
< hr / >
< div class = "i-buttons clearfix" >
< div class = "ib-main" >
{% with event=event 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/conference/{{ object.url }}/" > {% trans 'изменить' %}< / a >
{% endif %}
{% if event.photogallery %}
< a class = "button blue icon-photo" href = "{{ event.get_permanent_url }}photo/" > {% trans 'фото' %}< / a >
{% endif %}
< / div >
< div class = "ib-add" > < a target = "_blank" 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=event.theme.all %}
{% for theme in themes %}
< li > < a href = "{{ object.catalog }}theme/{{ theme.url }}/" > {{ theme.name }} ({{ theme.conferences_number }})< / a > < / li >
{% endfor %}
{% endwith %}
< / ul >
< / div >
< div class = "i-tags" >
{% with tags=event.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 >
< div class = "ib-add" > < a target = "_blank" 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=event.theme.all %}
{% for theme in themes %}
< li > < a href = "{{ object.catalog }}theme/{{ theme.url }}/" > {{ theme.name }} ({{ theme.conferences_number }})< / a > < / li >
{% endfor %}
{% endwith %}
< div class = "i-sub-articles" >
< a target = "_blank" href = "{{ event.paid_new.official.get_click_link }}" class = "paid-partner-link" > {% trans 'Официальный сайт конференции' %}< / a >
< / div >
< / ul >
< / div >
< div class = "i-tags" >
{% with tags=event.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 = "i-sub-articles" >
< a target = "_blank" href = "{{ event.paid_new.official.get_click_link }}" class = "paid-partner-link" > {% trans 'Официальный сайт конференции' %}< / a >
< / div >
`
< div class = "i-steps" >
< div class = "is-title" > {% trans 'Посетить/участвовать в конференции' %}< / div >
< ul >
@ -145,14 +145,14 @@
< / a >
< / li >
{% comment %}
< li class = "s2" >
< li class = "s2" >
< div class = "label" > {% trans 'Забронируйте площадь по лучшей цене' %}< / div >
< a class = "step" href = "{{ event.paid_new.participation.get_click_link }}" target = "_blank" > {% trans "Заявка на участие" %}< / a >
< / li >
{% endcomment %}
< li class = "s2" >
< div class = "label" > {% trans 'Забронируйте отель по лучшей цене' %}< / div >
< a class = "step" href = "http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ event.city.id }}&do_availability_check=on&label=expo_search&lang={{ request.LANGUAGE_CODE }}&checkin_monthday={{ event.data_begin|date:'j' }}&checkin_year_month={{ event.data_begin|date:'Y' }}-{{ event.data_begin|date:'n' }}&checkout_monthday={{ event.data_end|date:'j' }}&checkout_year_month={{ event.data_end|date:'Y' }}-{{ event.data_end|date:'n' }}" target = "_blank" > < b > booking< / b > .com< / a >
< div class = "label" > {% trans 'Забронируйте отель по лучшей цене' %}< / div >
< a class = "step" href = "http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ event.city.id }}&do_availability_check=on&label=expo_search&lang={{ request.LANGUAGE_CODE }}&checkin_monthday={{ event.data_begin|date:'j' }}&checkin_year_month={{ event.data_begin|date:'Y' }}-{{ event.data_begin|date:'n' }}&checkout_monthday={{ event.data_end|date:'j' }}&checkout_year_month={{ event.data_end|date:'Y' }}-{{ event.data_end|date:'n' }}" target = "_blank" > < b > booking< / b > .com< / a >
< / li >
@ -162,60 +162,60 @@
< / li >
< / ul >
< / div >
{% if event.get_photos %}
{% with photos=event.get_photos|slice:"5" %}
< hr / >
< div class = "i-photo-slides" >
< div class = "sect-title" > < a href = "#" > {% trans 'Фотографии с прошлой конференции' %}< / a > < / div >
< div id = "ps-photo-gallery" class = "ps-photo-gallery swiper-container" >
< ul class = "swiper-wrapper" >
{% for photo in photos %}
< li class = "swiper-slide" >
< img src = "{{ photo.get_display_url }}" alt = "" / >
< / li >
{% endfor %}
< / ul >
< div class = "re-controls" >
< a class = "prev" href = "#" > < < / a >
< a class = "next" href = "#" > > < / a >
< / div >
< / div >
< / div >
{% endwith %}
{% endif %}
{% if event.get_photos %}
{% with photos=event.get_photos|slice:"5" %}
< hr / >
< div class = "i-photo-slides" >
< div class = "sect-title" > < a href = "#" > {% trans 'Фотографии с прошлой конференции' %}< / a > < / div >
< div id = "ps-photo-gallery" class = "ps-photo-gallery swiper-container" >
< ul class = "swiper-wrapper" >
{% for photo in photos %}
< li class = "swiper-slide" >
< img src = "{{ photo.get_display_url }}" alt = "" / >
< / li >
{% endfor %}
< / ul >
< div class = "re-controls" >
< a class = "prev" href = "#" > < < / a >
< a class = "next" href = "#" > > < / a >
< / div >
< / div >
< / div >
{% endwith %}
{% endif %}
< div class = "i-event-description" >
< h2 class = "ied-title" > {% if event.event_type == 'expo' %}{% trans 'О выставке' %}{% else %}{% trans 'О конференции' %}{% endif %} {{ event.name|safe }}< / h2 >
< div class = "i-event-description" >
< h2 class = "ied-title" > {% if event.event_type == 'expo' %}{% trans 'О выставке' %}{% else %}{% trans 'О конференции' %}{% endif %} {{ event.name|safe }}< / h2 >
{% if event.description %}
< div class = "ied-text" > {{ event.description|safe }}< / div >
{% elif default_description %}
< div class = "ied-text" style = "text-align: justify" >
{{ default_description|safe }}
{{ default_description|safe }}
< / div >
{% else %}
{% include "client/includes/conference/default_description.html" with conf=event %}
{% endif %}
< / div >
< hr / >
{% endif %}
< / div >
< hr / >
< div class = "i-event-additional clearfix" >
< div class = "sect-title" > {% trans 'Дополнительная информация' %}< / div >
< ul class = "e-docs" >
{% if event.business_program.exists %}
< li > < a href = "{{ event.get_permanent_url }}program/" > {% trans 'Деловая программа' %}< / a > < / li >
{% endif %}
< div class = "i-event-additional clearfix" >
< div class = "sect-title" > {% trans 'Дополнительная информация' %}< / div >
< ul class = "e-docs" >
{% if event.business_program.exists %}
< li > < a href = "{{ event.get_permanent_url }}program/" > {% trans 'Деловая программа' %}< / a > < / li >
{% endif %}
< / ul >
< dl class = "add-info" >
{% if event.organiser.all|length > 0 %}
< dt > {% trans 'Организатор' %}:< / dt >
< dd >
{% with organisers=event.organiser.all %}
{% for organiser in organisers %}
{{ organiser.name }}< br / >
{% endfor %}
{% endwith %}
< / dd >
< / ul >
< dl class = "add-info" >
{% if event.organiser.all|length > 0 %}
< dt > {% trans 'Организатор' %}:< / dt >
< dd >
{% with organisers=event.organiser.all %}
{% for organiser in organisers %}
{{ organiser.name }}< br / >
{% endfor %}
{% endwith %}
< / dd >
{% elif event.org %}
{% for item in event.org_split %}
< dt > {% if forloop.counter == 1 %}{% trans 'Организатор' %}:{% endif %}< / dt >
@ -224,132 +224,132 @@
{{ item }}
< / dd >
{% endfor %}
{% endif %}
{% endif %}
{% if event.web_page %}
< dt > {% trans 'Веб-сайт' %}:< / dt >
< dd >
< a target = "_blank" href = "#" data-type = "href" data-hash = "1qwer" data-url = "{{ event.web_page|base64_encode }}" class = "link-encode" > {{ event.web_page }}< / a >
< / dd >
{% endif %}
{% if event.get_audience %}
< dt > {% trans 'Аудитория' %}:< / dt >
< dd >
{{ event.get_audience }}
< / dd >
{% endif %}
{% if event.get_periodic %}
< dt > {% trans 'Периодичность' %}:< / dt >
< dd > {{ event.get_periodic }}< / dd >
{% endif %}
{% if event.time %}
< dt > {% trans 'Время работы' %}:< / dt >
< dd > {{ event.time|safe }}< / dd >
{% endif %}
< / dl >
< / div >
{% if event.web_page %}
< dt > {% trans 'Веб-сайт' %}:< / dt >
< dd >
< a target = "_blank" href = "#" data-type = "href" data-hash = "1qwer" data-url = "{{ event.web_page|base64_encode }}" class = "link-encode" > {{ event.web_page }}< / a >
< / dd >
{% endif %}
{% if event.get_audience %}
< dt > {% trans 'Аудитория' %}:< / dt >
< dd >
{{ event.get_audience }}
< / dd >
{% endif %}
{% if event.get_periodic %}
< dt > {% trans 'Периодичность' %}:< / dt >
< dd > {{ event.get_periodic }}< / dd >
{% endif %}
{% if event.time %}
< dt > {% trans 'Время работы' %}:< / dt >
< dd > {{ event.time|safe }}< / dd >
{% endif %}
< / dl >
< / div >
{% include "client/includes/article/articles_in_event.html" with event=event news_list=news %}
< hr / >
{% include "client/includes/article/articles_in_event.html" with event=event news_list=news %}
< hr / >
< div class = "i-members clearfix" >
< div class = "im-participants" >
{% with companies=event.company.all|slice:":6" %}
{% if companies %}
{# есть участники #}
< header >
< div class = "im-title" > {% trans 'Спикеры' %}< / div >
< a class = "more" href = "{{ event.get_permanent_url }}members/" > {% trans 'Все спикеры' %}< / a >
< / header >
< ul >
{% for company in companies %}
< li >
< a href = "{{ company.get_permanent_url }}" >
< span class = "imp-pict" >
< div class = "i-members clearfix" >
< div class = "im-participants" >
{% with companies=event.company.all|slice:":6" %}
{% if companies %}
{# есть участники #}
< header >
< div class = "im-title" > {% trans 'Спикеры' %}< / div >
< a class = "more" href = "{{ event.get_permanent_url }}members/" > {% trans 'Все спикеры' %}< / a >
< / header >
< ul >
{% for company in companies %}
< li >
< a href = "{{ company.get_permanent_url }}" >
< span class = "imp-pict" >
{% with obj=company %}
{% include 'includes/show_logo.html' %}
{% endwith %}
< / span >
{{ company.name }}
< / a >
< / li >
{% endfor %}
< / ul >
{% else %}
{# нет участников #}
< header >
< div class = "im-title" > {% trans 'Спикеры' %}< / div >
< p > {% trans 'Разместите информацию о ключевых спикерах' %}< / p >
< p > < a href = "#pw-advertise" class = "button icon-up pw-open" > {% trans 'Рекламировать спикера' %}< / a > < / p >
< / header >
{% endif %}
{% endwith %}
< / div >
{% with obj=company %}
{% include 'includes/show_logo.html' %}
{% endwith %}
< / span >
{{ company.name }}
< / a >
< / li >
{% endfor %}
< / ul >
{% else %}
{# нет участников #}
< header >
< div class = "im-title" > {% trans 'Спикеры' %}< / div >
< p > {% trans 'Разместите информацию о ключевых спикерах' %}< / p >
< p > < a href = "#pw-advertise" class = "button icon-up pw-open" > {% trans 'Рекламировать спикера' %}< / a > < / p >
< / header >
{% endif %}
{% endwith %}
< / div >
< div class = "im-visitors" >
{% with visitors=event.users.all|slice:":17" %}
< header >
< div class = "im-title" > {% trans 'Посетители' %}< / div >
< / header >
< ul id = "visitors-list" >
{% if visitors %}
{# есть посетители #}
{% for user in visitors %}
{% if user == request.user %}
< li class = "current" > < a href = "{{ user.get_permanent_url }}" > {{ user.get_full_name }} {% if user.company %}({{ user.company.name }}){% endif %}< / a > < / li >
{% else %}
< li > < a href = "{{ user.get_permanent_url }}" > {{ user.get_full_name }} {% if user.company %}({{ user.company.name }}){% endif %}< / a > < / li >
{% endif %}
{% endfor %}
{% endif %}
< / ul >
< a id = "somebody" class = " more mb-1em {% if visitors|length > 0 %}{%else%}hidden{% endif %}" href = "{{ event.get_permanent_url }}visitors/" > {% trans 'Все посетители' %}< / a >
{% endwith %}
< p id = "nobody" class = " mb-1em {% if event.users.all|length > 0 %}hidden{% else %}{% endif %}" > {% trans 'Пока никто не отметился на событии.' %}< / p >
{% with event=event user=user %}
{% include 'client/includes/visit_button.html' %}
{% endwith %}
< / div >
< / div >
< hr / >
{% if event.members or event.visitors or event.foundation_year %}
< div class = "e-num-info" >
< div class = "eni-stats" >
{% if event.members %}
< div class = "enis-item" > < b > {{ event.members }}< / b > {% trans 'участников' %}< / div >
{% endif %}
{% if event.visitors %}
< div class = "enis-item" > < b > {{ event.visitors }}< / b > {% trans 'посетителей' %}< / div >
{% endif %}
{% if event.foundation_year %}
< div class = "eni-founded" > {% trans 'Основано в' %} < b > {{ event.foundation_year }}< / b > {% trans 'году' %}< / div >
{% endif %}
< / div >
< / div >
{% endif %}
< / div >
< div class = "im-visitors" >
{% with visitors=event.users.all|slice:":17" %}
< header >
< div class = "im-title" > {% trans 'Посетители' %}< / div >
< / header >
< ul id = "visitors-list" >
{% if visitors %}
{# есть посетители #}
{% for user in visitors %}
{% if user == request.user %}
< li class = "current" > < a href = "{{ user.get_permanent_url }}" > {{ user.get_full_name }} {% if user.company %}({{ user.company.name }}){% endif %}< / a > < / li >
{% else %}
< li > < a href = "{{ user.get_permanent_url }}" > {{ user.get_full_name }} {% if user.company %}({{ user.company.name }}){% endif %}< / a > < / li >
{% endif %}
{% endfor %}
{% endif %}
< / ul >
< a id = "somebody" class = " more mb-1em {% if visitors|length > 0 %}{%else%}hidden{% endif %}" href = "{{ event.get_permanent_url }}visitors/" > {% trans 'Все посетители' %}< / a >
{% endwith %}
< p id = "nobody" class = " mb-1em {% if event.users.all|length > 0 %}hidden{% else %}{% endif %}" > {% trans 'Пока никто не отметился на событии.' %}< / p >
{% with event=event user=user %}
{% include 'client/includes/visit_button.html' %}
{% endwith %}
< / div >
< / div >
< hr / >
{% if event.members or event.visitors or event.foundation_year %}
< div class = "e-num-info" >
< div class = "eni-stats" >
{% if event.members %}
< div class = "enis-item" > < b > {{ event.members }}< / b > {% trans 'участников' %}< / div >
{% endif %}
{% if event.visitors %}
< div class = "enis-item" > < b > {{ event.visitors }}< / b > {% trans 'посетителей' %}< / div >
{% endif %}
{% if event.foundation_year %}
< div class = "eni-founded" > {% trans 'Основано в' %} < b > {{ event.foundation_year }}< / b > {% trans 'году' %}< / div >
{% endif %}
< / div >
< / div >
{% endif %}
< / div >
{% include 'client/includes/booking_block.html' with city=event.city place=event.place event=event %}
< hr / >
{% include 'client/includes/booking_block.html' with city=event.city place=event.place event=event %}
< hr / >
{% if event.get_nearest_events %}
< div class = "e-cat" >
< div class = "sect-title" > {% trans 'Другие конференции, которые могут быть вам интересны' %}< / div >
< ul class = "cat-list cl-exhibitions" >
{% for exp in event.get_nearest_events %}
< li class = "cl-item" >
< div class = "cl-item-wrap clearfix" >
< a href = "{{ exp.get_permanent_url }}" >
< div class = "cli-pict" >
{% with obj=exp %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
< / div >
< / a >
< div class = "cli-info" >
< div class = "cli-top clearfix" >
{% if exp.quality_label.rsva.is_set %}
{% if event.get_nearest_events %}
< div class = "e-cat" >
< div class = "sect-title" > {% trans 'Другие конференции, которые могут быть вам интересны' %}< / div >
< ul class = "cat-list cl-exhibitions" >
{% for exp in event.get_nearest_events %}
< li class = "cl-item" >
< div class = "cl-item-wrap clearfix" >
< a href = "{{ exp.get_permanent_url }}" >
< div class = "cli-pict" >
{% with obj=exp %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
< / div >
< / a >
< div class = "cli-info" >
< div class = "cli-top clearfix" >
{% if exp.quality_label.rsva.is_set %}
< div class = "cli-approved" >
< img width = "52" height = "42" src = "{% static 'client/img/rsva.jpg' %}" alt = "" title = "Approved Event" / >
< / div >
@ -364,47 +364,47 @@
< img width = "52" height = "42" src = "{% static 'client/img/approved-logo.png' %}" alt = "" title = "Approved Event" / >
< / div >
{% endif %}
< header >
< div class = "cli-title" > < a href = "{{ exp.get_permanent_url }}" > {{ exp.name|safe }}< / a > < / div >
< / header >
< header >
< div class = "cli-title" > < a href = "{{ exp.get_permanent_url }}" > {{ exp.name|safe }}< / a > < / div >
< / header >
< div class = "cli-descr" >
{{ exp.main_title|safe|linebreaks }}
< / div >
< div class = "cli-descr" >
{{ exp.main_title|safe|linebreaks }}
< / div >
< div class = "cli-bot clearfix" >
< div class = "cli-date" >
{% with obj=exp %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
< / div >
< div class = "cli-place" >
< a href = "{{ exp.country.get_permanent_url }}" > {{ exp.country }}< / a > , < a href = "{{ exp.city.get_permanent_url }}" > {{ exp.city }}< / a >
{% if exp.place %}
, < a href = "{{ exp.place.get_permanent_url }}" > {{ exp.place }}< / a >
{% endif %}
< / div >
< / div >
< / div >
< / div >
< / div >
< / li >
{% endfor %}
< li > < a class = "button more" href = "{{ event.get_nearest_events_url|safe }}" > {% trans 'Смотреть все' %}< / a > < / li >
< / ul >
< / div >
{% endif %}
< div class = "cli-bot clearfix" >
< div class = "cli-date" >
{% with obj=exp %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
< / div >
< div class = "cli-place" >
< a href = "{{ exp.country.get_permanent_url }}" > {{ exp.country }}< / a > , < a href = "{{ exp.city.get_permanent_url }}" > {{ exp.city }}< / a >
{% if exp.place %}
, < a href = "{{ exp.place.get_permanent_url }}" > {{ exp.place }}< / a >
{% endif %}
< / div >
< / div >
< / div >
< / div >
< / div >
< / li >
{% endfor %}
< li > < a class = "button more" href = "{{ event.get_nearest_events_url|safe }}" > {% trans 'Смотреть все' %}< / a > < / li >
< / ul >
< / div >
{% endif %}
{% include 'client/includes/banners/detail_inner_3.html' %}
< div class = "e-cat look-also" >
< div class = "sect-title" > {% trans 'Смотрите также:' %}< / div >
< a href = "{{ event.catalog }}city/{{ event.city.url }}/" > {% trans "Конференции" %} {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}< / a >
< a href = "{{ event.catalog }}country/{{ event.country.url }}/" > {% trans "Конференции" %} {% if request.LANGUAGE_CODE == 'ru' and event.country.inflect %}{{ event.country.inflect }}{% else %}{% trans 'in' %} {{ event.country.name }}{% endif %}< / a >
{% if event.theme.all %}
< a href = "{{ event.catalog }}theme/{{ event.theme.all.0.url }}/country/{{ event.country.url }}/" > {% trans "Конференции по тематике " %}« {{ event.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and event.country.inflect %}{{ event.country.inflect }}{% else %}{% trans 'in' %} {{ event.country.name }}{% endif %}< / a >
< a href = "{{ event.catalog }}theme/{{ event.theme.all.0.url }}/city/{{ event.city.url }}/" > {% trans "Конференции по тематике " %}« {{ event.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}< / a >
{% endif %}
< / div >
< div class = "e-cat look-also" >
< div class = "sect-title" > {% trans 'Смотрите также:' %}< / div >
< a href = "{{ event.catalog }}city/{{ event.city.url }}/" > {% trans "Конференции" %} {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}< / a >
< a href = "{{ event.catalog }}country/{{ event.country.url }}/" > {% trans "Конференции" %} {% if request.LANGUAGE_CODE == 'ru' and event.country.inflect %}{{ event.country.inflect }}{% else %}{% trans 'in' %} {{ event.country.name }}{% endif %}< / a >
{% if event.theme.all %}
< a href = "{{ event.catalog }}theme/{{ event.theme.all.0.url }}/country/{{ event.country.url }}/" > {% trans "Конференции по тематике " %}« {{ event.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and event.country.inflect %}{{ event.country.inflect }}{% else %}{% trans 'in' %} {{ event.country.name }}{% endif %}< / a >
< a href = "{{ event.catalog }}theme/{{ event.theme.all.0.url }}/city/{{ event.city.url }}/" > {% trans "Конференции по тематике " %}« {{ event.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}< / a >
{% endif %}
< / div >
{% endblock %}
@ -412,7 +412,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' %}
{% endblock %}
@ -423,26 +423,26 @@
< script src = "{% static 'client/js_min/_modules/page.exposition.object.min.js' %}" > < / script >
{% endif %}
< script >
EXPO.exposition.object.init({
visit:{
activeClass:"visit",
passiveClass:"unvisit",
currentHtml:'< li class = "current" > < a href = "{{ request.user.get_permanent_url }}" > {{ request.user.get_full_name }} {% if request.user.company %}({{ request.user.company.name }}){% endif %}< / a > < / li > ',
visitorsListId:"visitors-list",
somebodyId:"somebody",
nobodyId:"nobody"
},
note:{
wrapClass:'note-wrap',
wrapDisabledClass:'note-wrap-disabled',
buttonClass:'note-button',
inputClass:'note-text'
},
advertise:{
id:"advert-member-form"
},
addCalendarText:"{% trans 'В расписание' %}",
removeCalendarText:"{% trans 'Из расписания' %}"
});
EXPO.exposition.object.init({
visit:{
activeClass:"visit",
passiveClass:"unvisit",
currentHtml:'< li class = "current" > < a href = "{{ request.user.get_permanent_url }}" > {{ request.user.get_full_name }} {% if request.user.company %}({{ request.user.company.name }}){% endif %}< / a > < / li > ',
visitorsListId:"visitors-list",
somebodyId:"somebody",
nobodyId:"nobody"
},
note:{
wrapClass:'note-wrap',
wrapDisabledClass:'note-wrap-disabled',
buttonClass:'note-button',
inputClass:'note-text'
},
advertise:{
id:"advert-member-form"
},
addCalendarText:"{% trans 'В расписание' %}",
removeCalendarText:"{% trans 'Из расписания' %}"
});
< / script >
{% endblock %}