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) -->
14 <div class="inline-tag-lists top-tag-list">
17 <div class="mono inline-header">{% trans "Authors" %}:</div>
18 <div class="inline-body">
19 {% inline_tag_list tags.author %}
25 <div class="mono inline-header">{% trans "Kinds" %}:</div>
26 <div class="inline-body">
27 {% inline_tag_list tags.kind %}
33 <div class="mono inline-header">{% trans "Genres" %}:</div>
34 <div class="inline-body">
35 {% inline_tag_list tags.genre %}
40 <div class="inline-tag-list">
41 <div class="mono inline-header">{% trans "Epochs" %}:</div>
42 <div class="inline-body">
43 {% inline_tag_list tags.epoch %}
51 {% if results.author %}
52 <div class="book-list-header">
53 <div class="book-box-inner">
54 <p>{% trans "Results by authors" %}</p>
58 <ol class="work-list">
59 {% for author in results.author %}<li class="Book-item">{% book_short author.book %}</li>{% endfor %}
64 {% if results.translator %}
65 <div class="book-list-header">
66 <div class="book-box-inner">
67 <p>{% trans "Results by translators" %}</p>
71 <ol class="work-list">
72 {% for translator in results.translator %}<li class="Book-item">{% book_short translator.book %}</li>{% endfor %}
77 {% if results.title %}
78 <div class="book-list-header">
79 <div class="book-box-inner">
80 <p>{% trans "Results by title" %}</p>
84 <ol class="work-list">
85 {% for result in results.title %}<li class="Book-item">
86 {% book_short result.book %}
92 {% if results.content %}
93 <div class="book-list-header">
94 <div class="book-box-inner">
95 <p>{% trans "Results in text" %}</p>
99 <ol class="work-list">
100 {% for result in results.content %}
101 <li class="Book-item">
102 {% book_searched result %}
109 {% if results.other %}
110 <div class="book-list-header">
111 <div class="book-box-inner">
112 <p>{% trans "Other results" %}</p>
116 <ol class="work-list">
117 {% for result in results.other %}
118 <li class="Book-item">
119 {% book_searched result %}