1 {% extends "base.html" %}
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 %}
8 {% block titleextra %}{% trans "Search" %}{% endblock %}
10 {% block bodyid %}tagged-object-list{% endblock %}
14 <span class="did_you_mean">{% trans "Did you mean" %} <a href="{% url 'search' %}?q={{did_you_mean|urlencode}}">{{did_you_mean|lower}}</a>?</span>
16 <!-- tu pójdą trafienia w tagi: Autorzy - z description oraz motywy i rodzaje -->
17 <div class="inline-tag-lists top-tag-list">
20 <div class="mono inline-header">{% trans "Authors" %}:</div>
21 <div class="inline-body">
22 {% inline_tag_list tags.author %}
28 <div class="mono inline-header">{% trans "Kinds" %}:</div>
29 <div class="inline-body">
30 {% inline_tag_list tags.kind %}
36 <div class="mono inline-header">{% trans "Genres" %}:</div>
37 <div class="inline-body">
38 {% inline_tag_list tags.genre %}
43 <div class="inline-tag-list">
44 <div class="mono inline-header">{% trans "Epochs" %}:</div>
45 <div class="inline-body">
46 {% inline_tag_list tags.epoch %}
52 {% if results.title %}
53 <div class="book-list-header">
54 <div class="book-box-inner">
55 <p>{% trans "Results by title" %}</p>
59 <ol class="work-list">
60 {% for result in results.title %}<li class="Book-item">
61 {% ssi_include 'catalogue_book_short' pk=result.book.pk %}
67 {% if results.author %}
68 <div class="book-list-header">
69 <div class="book-box-inner">
70 <p>{% trans "Results by authors" %}</p>
74 <ol class="work-list">
75 {% for author in results.author %}<li class="Book-item">{% ssi_include 'catalogue_book_short' pk=author.book.pk %}</li>{% endfor %}
80 {% if results.translator %}
81 <div class="book-list-header">
82 <div class="book-box-inner">
83 <p>{% trans "Results by translators" %}</p>
87 <ol class="work-list">
88 {% for translator in results.translator %}<li class="Book-item">{% ssi_include 'catalogue_book_short' pk=translator.book.pk %}</li>{% endfor %}
93 {% if results.content %}
94 <div class="book-list-header">
95 <div class="book-box-inner">
96 <p>{% trans "Results in text" %}</p>
100 <ol class="work-list">
101 {% for result in results.content %}
102 <li class="Book-item">
103 {% book_searched result %}
110 {% if results.other %}
111 <div class="book-list-header">
112 <div class="book-box-inner">
113 <p>{% trans "Other results" %}</p>
117 <ol class="work-list">
118 {% for result in results.other %}
119 <li class="Book-item">
120 {% book_searched result %}