1 {% extends "base.html" %}
3 {% load catalogue_tags search_tags pagination_tags %}
5 {% block titleextra %}{% trans "Search" %}{% endblock %}
7 {% block bodyid %}tagged-object-list{% endblock %}
11 <span class="did_you_mean">{% trans "Did you mean" %} <a href="{% url search %}?q={{did_you_mean|urlencode}}">{{did_you_mean|lower}}</a>?</span>
13 <!-- tu pójdą trafienia w tagi: Autorzy - z description oraz motywy i rodzaje (z book_count) -->
15 {% if results.author %}
16 <div class="book-list-header">
17 <div class="book-box-inner">
18 <p>{% trans "Results by authors" %}</p>
22 <ol class="work-list">
23 {% for author in results.author %}
24 <li class="Book-item">
25 {% book_short author.book %}
32 {% if results.title %}
33 <div class="book-list-header">
34 <div class="book-box-inner">
35 <p>{% trans "Results by title" %}</p>
39 <ol class="work-list">
40 {% for result in results.title %}
41 <li class="Book-item">
42 {% book_short result.book %}
49 {% if results.content %}
50 <div class="book-list-header">
51 <div class="book-box-inner">
52 <p>{% trans "Results in text" %}</p>
56 <ol class="work-list">
57 {% for result in results.content %}
58 <li class="Book-item">
59 {% book_searched result %}
66 {% if results.other %}
67 <div class="book-list-header">
68 <div class="book-box-inner">
69 <p>{% trans "Other results" %}</p>
73 <ol class="work-list">
74 {% for result in results.other %}
75 <li class="Book-item">
76 {% book_searched result %}