X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f230a3850ec568f2281f085a076a6185d8c82b5c..c26ab6ee15974c1133a6d08c459b51199185f25f:/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 deleted file mode 100644 index 0d3e70064..000000000 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ /dev/null @@ -1,71 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% load catalogue_tags pagination_tags %} - -{% block titleextra %}{% trans "Search" %}{% endblock %} - -{% block bodyid %}tagged-object-list{% endblock %} - -{% block body %} -

{% trans "Search" %}

- -
-
    - {% for result in results %} -
  1. -

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

    -
      - {% for hit in result.hits %} -
    • - {% if hit.fragment %} - Idź do fragmentu -
      Tagi/Motywy: {% for tag in hit.themes %}{{tag.name}} {% endfor %}
      - {# snippets or short html? #} - {% if hit.snippets %} - {% for snip in hit.snippets %} - {{snip|safe}}
      - {% endfor %} - {% else %} - {{hit.fragment.short_text|safe}} - {% endif %} - - {% else %} - {# it's a section #} - {% if hit.snippets %} - {% for snip in hit.snippets %} - {{snip|safe}}
      - {% endfor %} - {% else %} - [section matched but no snippets :-(] - {% endif %} - {% endif %} -
    • - {% endfor %} - -
    -
  2. - {% empty %} -

    No results.

    - {% endfor %} -
-
- - -{% comment %} -
-

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

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