b3f522b0b1f2f00e1b793ed9fb4cc5584e8897e2
[wolnelektury.git] / src / catalogue / templates / catalogue / search_multiple_hits.html
1 {% extends "base/base.html" %}
2 {% load i18n %}
3 {% load pagination_tags %}
4 {% load inline_tag_list from catalogue_tags %}
5 {% load book_searched from search_tags %}
6 {% load ssi_include from ssify %}
7
8 {% block titleextra %}{% trans "Search" %}{% endblock %}
9
10 {% block bodyid %}tagged-object-list{% endblock %}
11
12 {% block body %}
13   {% if did_you_mean %}
14     <span class="did_you_mean">{% trans "Did you mean" %}
15       <a href="{% url 'search' %}?q={{did_you_mean|urlencode}}">{{did_you_mean|lower}}</a>?</span>
16   {% endif %}
17   <div class="inline-tag-lists top-tag-list">
18     {% if tags %}
19       <div>
20         {% for tag in tags %}
21           <a class="tag-box" href="{{ tag.get_absolute_url }}">
22             {% include "catalogue/tag_box.html" %}
23           </a>
24         {% endfor %}
25       </div>
26     {% endif %}
27   </div>
28
29   <div>
30     <ul class="work-list">
31       {% for result in results %}
32         <li class="Book-item">
33           {% book_searched result %}
34         </li>
35       {% endfor %}
36     </ul>
37   </div>
38 {% endblock %}