X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2bf5eaca680da6ebd22e6fd799a9a5d68206f0b8..d52c76021eaf1621b4e55a6eba1df1c0404bd7dd:/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 1eea6fc3b..414dcfdc0 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -9,6 +9,34 @@ {% block body %}

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

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

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

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