X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891b9e3b7ecaedc9ac32bc941400a267c77482a0..f59e7c3de6bd0f85a61a4d9481db60cd7369ae92:/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 fe4514009..15c5d71d9 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -2,27 +2,54 @@ {% load i18n %} {% load catalogue_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 %} - +

{% trans "Search" %}

+ +
+
    + {% 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.

    + {% endfor %} +
+
+ + +{% comment %}

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

-
+{% endcomment %} -
-
{% trans "Close" %}
-
-

* {% trans "Loading" %}

-
-
-{% endblock %} \ No newline at end of file +{% endblock %}