X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/075fb07f19c2f20cd3b6818b973e7aebebdacc9f..276656dcc680e1a35103d310dea046152ddc3785:/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 414dcfdc0..5d222519f 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -1,56 +1,23 @@ {% extends "base.html" %} {% load i18n %} -{% load catalogue_tags pagination_tags %} +{% load search_tags pagination_tags %} {% block titleextra %}{% trans "Search" %}{% endblock %} {% block bodyid %}tagged-object-list{% endblock %} {% block body %} -

{% trans "Search" %}

+ {% if did_you_mean %} + {% trans "Dod you mean" %} {{did_you_mean|lower}}? + {% endif %} +
-
    {% for result in results %} -
  1. -

    {{result.book.pretty_title}} (id: {{result.book_id}}, score: {{result.score}})

    -
      - {% for hit in result.process_hits %} -
    • - {% if hit.fragment %} - Idź do fragmentu -
      Tagi/Motywy: {% for tag in hit.themes %}{{tag.name}} {% endfor %}
      - {% endif %} - {% for snip in hit.snippets %} - {{snip|safe}}
      - {% endfor %} -
    • - {% endfor %} - -
    -
  2. - {% empty %} -

    No results.

    + {% book_searched result %} {% endfor %} -
-{% comment %} -
-

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

- -
-{% endcomment %} {% endblock %}