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 -->
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 %}
49 {% if results.title %}
50 <div class="book-list-header">
51 <div class="book-box-inner">
52 <p>{% trans "Results by title" %}</p>
56 <ol class="work-list">
57 {% for result in results.title %}<li class="Book-item">
58 {% book_short result.book %}
64 {% if results.author %}
65 <div class="book-list-header">
66 <div class="book-box-inner">
67 <p>{% trans "Results by authors" %}</p>
71 <ol class="work-list">
72 {% for author in results.author %}<li class="Book-item">{% book_short author.book %}</li>{% endfor %}
77 {% if results.translator %}
78 <div class="book-list-header">
79 <div class="book-box-inner">
80 <p>{% trans "Results by translators" %}</p>
84 <ol class="work-list">
85 {% for translator in results.translator %}<li class="Book-item">{% book_short translator.book %}</li>{% endfor %}
90 {% if results.content %}
91 <div class="book-list-header">
92 <div class="book-box-inner">
93 <p>{% trans "Results in text" %}</p>
97 <ol class="work-list">
98 {% for result in results.content %}
99 <li class="Book-item">
100 {% book_searched result %}
107 {% if results.other %}
108 <div class="book-list-header">
109 <div class="book-box-inner">
110 <p>{% trans "Other results" %}</p>
114 <ol class="work-list">
115 {% for result in results.other %}
116 <li class="Book-item">
117 {% book_searched result %}