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.
45 lines
1.5 KiB
45 lines
1.5 KiB
{% extends 'base.html' %}
|
|
|
|
{% load cms_tags %}
|
|
|
|
{% block page-title %}Результаты поиска{% endblock %}
|
|
|
|
{% block content-main %}
|
|
<div class="category-text">
|
|
{% for hit in page_obj.object_list %}
|
|
{% if forloop.first %}
|
|
<div class="search-pagination">{% include "search/pagination.html" %}</div>
|
|
<div class="clear"></div>
|
|
{% endif %}
|
|
|
|
<div class="search-entry">
|
|
<p>{{ hit.tags.teaser }}</p>
|
|
<p><a href="/{{ hit.tags.path }}">{{ hit.tags.title }}</a></p>
|
|
</div>
|
|
|
|
{% if forloop.last %}
|
|
<div class="search-pagination">{% include "search/pagination.html" %}</div>
|
|
<div class="clear"></div>
|
|
{% endif %}
|
|
{% empty %}
|
|
<h2 class="align-center">
|
|
По вашему запросу ничего не найдено.
|
|
{% if maybe %}<br/>Возможно, вы имели в виду «<a href="?q={{ maybe|urlencode }}">{{ maybe }}</a>»?{% endif %}
|
|
</h2>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content-left %}
|
|
<div class="content-left">
|
|
{% placeholder "content-left" %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block colmask-wrapper-add-class %}leftmenu{% endblock %} {# ВАЖНЫЙ КЛАСС! #}
|
|
|
|
{% block colmid-div-start %}{% endblock %}
|
|
|
|
{% block colmid-div-end %}{% endblock %}
|
|
|
|
{% block col3-right %}{% endblock %}
|
|
|