X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/462d84ea8718cd3ca1112fe11c2120a0f20f475f..d006c3ee8a6305e89f723cb6d84497817ae2050c:/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..ed06c94a8 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 %} @@ -8,11 +8,11 @@ {% block body %} {% if did_you_mean %} - {% trans "Dod you mean" %} {{did_you_mean|lower}}? + {% trans "Did you mean" %} {{did_you_mean|lower}}? {% 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 %}