X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7179cd5fbb16e2454f1a193a213f6607592e22c..462d84ea8718cd3ca1112fe11c2120a0f20f475f:/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 cc93d5631..0a7dc1cf1 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -1,27 +1,91 @@ {% extends "base.html" %} -{% load catalogue_tags pagination_tags %} +{% load i18n %} +{% load search_tags pagination_tags %} -{% block title %}Wyszukiwanie w WolneLektury.pl{% endblock %} +{% block titleextra %}{% trans "Search" %}{% endblock %} {% block bodyid %}tagged-object-list{% endblock %} {% block body %} -

{% title_from_tags tags %}

- {% breadcrumbs tags %} - -
-

Znaleziono więcej niż jeden wynik odpowiadający kryteriom wyszukiwania.

- -
- -
-
Zamknij
-
-

* Ładowanie

-
-
-{% endblock %} \ No newline at end of file + {% if did_you_mean %} + {% trans "Dod you mean" %} {{did_you_mean|lower}}? + {% endif %} + + + + {% if results.author %} +
+
+

{% trans "Results by authors" %}

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

{% trans "Results by title" %}

+
+
+
+
    + {% for result in results.title %} +
  1. + {{result.book.short_html}} +
  2. + {% endfor %} +
+
+ {% endif %} + + {% if results.content %} + {% for result in results.content %} +
+
+

{% trans "Results in text" %}

+
+
+
+
    + {% for result in results.title %} +
  1. + {% book_searched result %} +
  2. + {% endfor %} +
+
+ {% endfor %} + {% endif %} + + {% if results.other %} + {% for result in results.other %} +
+
+

{% trans "Other results" %}

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