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 "Dod you mean" %} <a href="{% url search %}?q={{did_you_mean|urlencode}}">{{did_you_mean|lower}}</a></b>?</span>
13 <!-- tu pójdą trafienia w tagi: Autorzy - z description oraz motywy i rodzaje (z book_count) -->
16 {% if results.author %}
17 <div class="book-list-header">
18 <div class="book-box-inner">
19 <p>{% trans "Results by authors" %}</p>
23 <ol class="work-list">
24 {% for author in results.author %}
25 <li class="work-item">
26 {% book_short author.book %}
33 {% if results.title %}
34 <div class="book-list-header">
35 <div class="book-box-inner">
36 <p>{% trans "Results by title" %}</p>
40 <ol class="work-list">
41 {% for result in results.title %}
42 <li class="work-item">
43 {% book_short result.book %}
50 {% if results.content %}
51 {% for result in results.content %}
52 <div class="book-list-header">
53 <div class="book-box-inner">
54 <p>{% trans "Results in text" %}</p>
58 <ol class="work-list">
59 {% for result in results.title %}
60 <li class="work-item">
61 {% book_searched result %}
69 {% if results.other %}
70 {% for result in results.other %}
71 <div class="book-list-header">
72 <div class="book-box-inner">
73 <p>{% trans "Other results" %}</p>
77 <ol class="work-list">
78 {% for result in results.other %}
79 <li class="work-item">
80 {% book_searched result %}