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.
71 lines
2.7 KiB
71 lines
2.7 KiB
{% extends 'base_catalog.html' %}
|
|
{% load template_filters %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% if object_list %}
|
|
{% block head_scripts %}
|
|
<script type="text/javascript" src="{% static 'client/js/rejs/tops.js' %}"></script>
|
|
{% endblock head_scripts %}
|
|
{% endif %}
|
|
|
|
|
|
{% block bread_scrumbs %}
|
|
<div class="bread-crumbs">
|
|
<a href="/">{% trans 'Главная страница' %}</a>
|
|
<a href="{{ catalog_url }}">{% trans 'Выставки' %}</a>
|
|
{% if month %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/">{{ filter_object.name }}</a>
|
|
{% if country %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/country/{{ country.url }}">{{ country.name }}</a>
|
|
{% endif %}
|
|
{% if city %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/city/{{ city.url }}">{{ city.name }}</a>
|
|
{% endif %}
|
|
<a href="{{ year.link }}">{{ year.text }}</a>
|
|
<strong>{{ month.text }}</strong>
|
|
{% else %}
|
|
{% if year %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/">{{ filter_object.name }}</a>
|
|
{% if country %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/country/{{ country.url }}">{{ country.name }}</a>
|
|
{% endif %}
|
|
{% if city %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/city/{{ city.url }}">{{ city.name }}</a>
|
|
{% endif %}
|
|
<strong>{{ year.text }}</strong>
|
|
{% else %}
|
|
{% if country %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/">{{ filter_object.name }}</a>
|
|
<strong>{{ country.name }}</strong>
|
|
{% else %}
|
|
{% if city %}
|
|
<a href="{{ catalog_url }}{{ filter_object.url }}/">{{ filter_object.name }}</a>
|
|
<strong>{{ city.name }}</strong>
|
|
{% else %}
|
|
<strong>{{ filter_object.name }}</strong>
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block page_title %}
|
|
<div class="page-title">
|
|
<h1>{% if meta %}{{ meta.h1 }}{% else %}{% trans 'Выставки' %}: <strong>{{ filter_object.name }}</strong>{% endif %}</h1>
|
|
</div>
|
|
{% include 'includes/exposition/catalog_filter_period.html' %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content_list %}
|
|
{% include 'includes/exposition/exposition_list.html' with object_list=object_list %}
|
|
{% endblock %}
|
|
|
|
{% block paginator %}
|
|
{% include 'includes/catalog_paginator.html' with page_obj=page_obj %}
|
|
{% endblock %}
|
|
|