You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
{% extends 'base_catalog.html' %}
|
|
{% load template_filters %}
|
|
{% load i18n %}
|
|
|
|
{% block bread_scrumbs %}
|
|
<div class="bread-crumbs">
|
|
<a href="/">{% trans 'Главная страница' %}</a>
|
|
<a href="{{ object.catalog }}">{% trans 'Выставки' %}</a>
|
|
<a href="{{ object.catalog }}country/{{ object.country.url }}/">{{ object.country }}</a>
|
|
<a href="{{ object.catalog }}city/{{ object.city.url }}/">{{ object.city }}</a>
|
|
<a href="{{ object.get_permanent_url }}">{{ object.name }}</a>
|
|
<strong>{% trans 'Деловая программа' %}</strong>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
{% block page_title %}
|
|
{% endblock %}
|
|
|
|
{% block content_list %}
|
|
{% include 'client/includes/exposition/programm.html' with exposition=object %}
|
|
<script>
|
|
$('a.eps-open').on('click', function () {
|
|
var $switch = $(this);
|
|
var $sect = $switch.closest('.ep-sect');
|
|
var $sectBody = $sect.children('div.ep-sect-body');
|
|
|
|
if ($sect.hasClass('eps-opened')) {
|
|
$sectBody
|
|
.stop()
|
|
.animate({
|
|
height: 'hide',
|
|
opacity: 'hide'
|
|
}, 300, function () {
|
|
$sect.removeClass('eps-opened');
|
|
});
|
|
} else {
|
|
$sectBody
|
|
.stop()
|
|
.animate({
|
|
height: 'show',
|
|
opacity: 'show'
|
|
}, 300, function () {
|
|
$sect.addClass('eps-opened');
|
|
});
|
|
}
|
|
|
|
return false;
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
|
|
{% block paginator %}
|
|
|
|
{% endblock %} |