X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/568be7ec391479b5a253137fc08fa0ffa17b8249..55bc643c16dc56cf2377bd5c4d6e924d5fc62698:/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 dc3696ece..5d222519f 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -1,63 +1,23 @@ {% extends "base.html" %} {% load i18n %} -{% load catalogue_tags pagination_tags %} +{% load 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 %} -
-

{{ form.q }} {% trans "or" %} {% trans "return to main page" %}

-
+ {% 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 %} -
      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 %} -
-
{% trans "Close" %}
-
-

* {% trans "Loading" %}

-
-
{% endblock %}