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.title %}
65 <div class="book-list-header">
66 <div class="book-box-inner">
67 <p>{% trans "Results by title" %}</p>
71 <ol class="work-list">
72 {% for result in results.title %}<li class="Book-item">
73 {% book_short result.book %}
79 {% if results.content %}
80 <div class="book-list-header">
81 <div class="book-box-inner">
82 <p>{% trans "Results in text" %}</p>
86 <ol class="work-list">
87 {% for result in results.content %}
88 <li class="Book-item">
89 {% book_searched result %}
96 {% if results.other %}
97 <div class="book-list-header">
98 <div class="book-box-inner">
99 <p>{% trans "Other results" %}</p>
103 <ol class="work-list">
104 {% for result in results.other %}
105 <li class="Book-item">
106 {% book_searched result %}