X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..d006c3ee8a6305e89f723cb6d84497817ae2050c:/wolnelektury/templates/catalogue/search_multiple_hits.html diff --git a/wolnelektury/templates/catalogue/search_multiple_hits.html b/wolnelektury/templates/catalogue/search_multiple_hits.html index 8e99cdc97..ed06c94a8 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -1,28 +1,87 @@ {% extends "base.html" %} {% load i18n %} -{% load catalogue_tags pagination_tags %} +{% load catalogue_tags search_tags pagination_tags %} -{% block title %}{% trans "Searching in" %} WolneLektury.pl{% endblock %} +{% block titleextra %}{% trans "Search" %}{% endblock %} {% block bodyid %}tagged-object-list{% endblock %} {% block body %} -

{% title_from_tags tags %}

- {% breadcrumbs tags %} + {% if did_you_mean %} + {% trans "Did you mean" %} {{did_you_mean|lower}}? + {% endif %} + -
-

{% trans "More than one result matching the criteria found." %}

- + {% spaceless %} + {% if results.author %} +
+
+

{% trans "Results by authors" %}

+
+
+
    + {% for author in results.author %} +
  1. + {% book_short author.book %} +
  2. + {% endfor %} +
+
+ {% endif %} + + {% if results.title %} +
+
+

{% trans "Results by title" %}

+
+
+
+
    + {% for result in results.title %} +
  1. + {% book_short result.book %} +
  2. + {% endfor %} +
+
+ {% endif %} -
- -
-

* {% trans "Loading" %}

-
+ {% if results.content %} +
+
+

{% trans "Results in text" %}

+
+
+
+
    + {% for result in results.content %} +
  1. + {% book_searched result %} +
  2. + {% endfor %} +
-{% endblock %} \ No newline at end of file + {% endif %} + + {% if results.other %} +
+
+

{% trans "Other results" %}

+
+
+
+
    + {% for result in results.other %} +
  1. + {% book_searched result %} +
  2. + {% endfor %} +
+
+ {% endif %} + {% endspaceless %} + + + +{% endblock %}