X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/462d84ea8718cd3ca1112fe11c2120a0f20f475f..8d8fb6e63435faa5de2d07a52812f23b1796a29d:/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 0a7dc1cf1..6739645cc 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load i18n %} -{% load search_tags pagination_tags %} +{% load catalogue_tags search_tags pagination_tags %} {% block titleextra %}{% trans "Search" %}{% endblock %} @@ -12,7 +12,7 @@ {% endif %} - + {% spaceless %} {% if results.author %}
@@ -22,8 +22,8 @@
    {% for author in results.author %} -
  1. - {{author.book.short_html}} +
  2. + {% book_short author.book %}
  3. {% endfor %}
@@ -39,8 +39,8 @@
    {% for result in results.title %} -
  1. - {{result.book.short_html}} +
  2. + {% book_short result.book %}
  3. {% endfor %}
@@ -48,7 +48,6 @@ {% endif %} {% if results.content %} - {% for result in results.content %}

{% trans "Results in text" %}

@@ -56,18 +55,16 @@
    - {% for result in results.title %} -
  1. + {% for result in results.content %} +
  2. {% book_searched result %}
  3. {% endfor %}
- {% endfor %} {% endif %} {% if results.other %} - {% for result in results.other %}

{% trans "Other results" %}

@@ -76,15 +73,14 @@
    {% for result in results.other %} -
  1. +
  2. {% book_searched result %}
  3. {% endfor %}
- {% endfor %} {% endif %} - + {% endspaceless %}