X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e9f8a9269b64a5af7c95d6c2714b1ae97e68d6a1..82c3054bcdeb000aa9782da80d644070797b5cbe:/apps/catalogue/templates/catalogue/search_multiple_hits.html diff --git a/apps/catalogue/templates/catalogue/search_multiple_hits.html b/apps/catalogue/templates/catalogue/search_multiple_hits.html index c9d5a35ce..d1e1dedf7 100644 --- a/apps/catalogue/templates/catalogue/search_multiple_hits.html +++ b/apps/catalogue/templates/catalogue/search_multiple_hits.html @@ -1,6 +1,9 @@ {% extends "base.html" %} {% load i18n %} -{% load catalogue_tags search_tags pagination_tags %} +{% load pagination_tags %} +{% load inline_tag_list from catalogue_tags %} +{% load book_searched from search_tags %} +{% load ssi_include from ssify %} {% block titleextra %}{% trans "Search" %}{% endblock %} @@ -10,7 +13,7 @@ {% if did_you_mean %} {% trans "Did you mean" %} {{did_you_mean|lower}}? {% endif %} - +
{% if tags.author %}
@@ -55,7 +58,7 @@
    {% for result in results.title %}
  1. - {% book_short result.book %} + {% ssi_include 'catalogue_book_short' pk=result.book.pk %}
  2. {% endfor %}
@@ -69,7 +72,7 @@
    - {% for author in results.author %}
  1. {% book_short author.book %}
  2. {% endfor %} + {% for author in results.author %}
  3. {% ssi_include 'catalogue_book_short' pk=author.book.pk %}
  4. {% endfor %}
{% endif %} @@ -82,7 +85,7 @@
    - {% for translator in results.translator %}
  1. {% book_short translator.book %}
  2. {% endfor %} + {% for translator in results.translator %}
  3. {% ssi_include 'catalogue_book_short' pk=translator.book.pk %}
  4. {% endfor %}
{% endif %}