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="Book-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="Book-item">
43 {% book_short result.book %}
50 {% if results.content %}
51 <div class="book-list-header">
52 <div class="book-box-inner">
53 <p>{% trans "Results in text" %}</p>
57 <ol class="work-list">
58 {% for result in results.content %}
59 <li class="Book-item">
60 {% book_searched result %}
67 {% if results.other %}
68 <div class="book-list-header">
69 <div class="book-box-inner">
70 <p>{% trans "Other results" %}</p>
74 <ol class="work-list">
75 {% for result in results.other %}
76 <li class="Book-item">
77 {% book_searched result %}