X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b80f646690239d9a90d708d57780f328328b26d5..f59e7c3de6bd0f85a61a4d9481db60cd7369ae92:/wolnelektury/templates/catalogue/search_multiple_hits.html?ds=sidebyside diff --git a/wolnelektury/templates/catalogue/search_multiple_hits.html b/wolnelektury/templates/catalogue/search_multiple_hits.html index 23d1a59d4..15c5d71d9 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -2,14 +2,12 @@ {% 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 %} -
-

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

-
+

{% trans "Search" %}

    @@ -17,26 +15,17 @@
  1. {{result.book.pretty_title}} (id: {{result.book_id}}, score: {{result.score}})

      - {% for hit in result.hits %} + {% for hit in result.process_hits %}
    • - {% for snip in hit.3.snippets %} + {% if hit.fragment %} +
      Tagi/Motywy: {% for tag in hit.themes %}{{tag.name}} {% endfor %}
      + {% endif %} + {% for snip in hit.snippets %} {{snip|safe}}
      {% endfor %}
    • {% endfor %} - {% for part in result.parts %} - {% if part.header %} -
    • W {{part.header}} nr {{part.position}}
    • - {% else %} - {% if part.fragment %} -
    • -
      Tagi/Motywy: {% for tag in part.fragment.tags %}{{tag.name}} {% endfor %}
      - {{part.fragment.short_html|safe}} -
    • - {% endif %} - {% endif %} - {% endfor %}
  2. {% empty %} @@ -63,10 +52,4 @@
{% endcomment %} -
-
{% trans "Close" %}
-
-

* {% trans "Loading" %}

-
-
{% endblock %}