|
|
|
|
@ -381,43 +381,48 @@ |
|
|
|
|
<div class="e-cat look-also"> |
|
|
|
|
<h2 class="sect-title">{% trans 'Смотрите также:' %}</h2> |
|
|
|
|
<a href="{{ exposition.catalog }}city/{{ exposition.city.url }}/">{% trans "Выставки" %} {% if request.LANGUAGE_CODE == 'ru' and exposition.city.inflect %}{{ exposition.city.inflect }}{% else %}{% trans 'in' %} {{ exposition.city.name }}{% endif %}</a> |
|
|
|
|
<a href="{{ exposition.catalog }}country/{{ exposition.country.url }}/">{% trans "Выставки" %} {% if request.LANGUAGE_CODE == 'ru' and exposition.country.inflect %}{{ exposition.country.inflect }}{% else %}{% trans 'in' %} {{ exposition.country.name }}{% endif %}</a> |
|
|
|
|
<a href="{{ exposition.catalog }}theme/{{ exposition.theme.all.0.url }}/country/{{ exposition.country.url }}/">{% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.country.inflect %}{{ exposition.country.inflect }}{% else %}{% trans 'in' %} {{ exposition.country.name }}{% endif %}</a> |
|
|
|
|
<a href="{{ exposition.catalog }}theme/{{ exposition.theme.all.0.url }}/city/{{ exposition.city.url }}/">{% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.city.inflect %}{{ exposition.city.inflect }}{% else %}{% trans 'in' %} {{ exposition.city.name }}{% endif %}</a> |
|
|
|
|
<a href="{{ exposition.catalog }}country/{{ exposition.country.url }}/">{% trans "Выставки" %} {% if request.LANGUAGE_CODE == 'ru' and exposition.country.inflect %}{{ exposition.country.inflect }}{% else %}{% trans 'in' %} {{ exposition.country.name }}{% endif %}</a> |
|
|
|
|
{% if exposition.theme.all %} |
|
|
|
|
<a href="{{ exposition.catalog }}theme/{{ exposition.theme.all.0.url }}/country/{{ exposition.country.url }}/">{% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.country.inflect %}{{ exposition.country.inflect }}{% else %}{% trans 'in' %} {{ exposition.country.name }}{% endif %}</a> |
|
|
|
|
<a href="{{ exposition.catalog }}theme/{{ exposition.theme.all.0.url }}/city/{{ exposition.city.url }}/">{% trans "Выставки по тематике " %}«{{ exposition.theme.all.0.name|capfirst }}» {% if request.LANGUAGE_CODE == 'ru' and exposition.city.inflect %}{{ exposition.city.inflect }}{% else %}{% trans 'in' %} {{ exposition.city.name }}{% endif %}</a> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% 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' %} |
|
|
|
|
<script src="{% static 'client/js/_modules/page.exposition.object.js' %}"></script> |
|
|
|
|
{% else %} |
|
|
|
|
<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 'Из расписания' %}" |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
{% if request.GET.debug == '1' %} |
|
|
|
|
<script src="{% static 'client/js/_modules/page.exposition.object.js' %}"></script> |
|
|
|
|
{% else %} |
|
|
|
|
<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 'Из расписания' %}" |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
{% endblock %} |
|
|
|
|
|