X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/462d84ea8718cd3ca1112fe11c2120a0f20f475f..24791e323ca709aa1c193096e6e4455390f7ac72:/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..efe6d7915 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,10 @@ {% block body %} {% if did_you_mean %} - {% trans "Dod you mean" %} {{did_you_mean|lower}}? + {% trans "Did you mean" %} {{did_you_mean|lower}}? {% endif %} - {% if results.author %}
@@ -22,8 +21,8 @@
    {% for author in results.author %} -
  1. - {{author.book.short_html}} +
  2. + {% book_short author.book %}
  3. {% endfor %}
@@ -39,8 +38,8 @@
    {% for result in results.title %} -
  1. - {{result.book.short_html}} +
  2. + {% book_short result.book %}
  3. {% endfor %}
@@ -48,7 +47,6 @@ {% endif %} {% if results.content %} - {% for result in results.content %}

{% trans "Results in text" %}

@@ -56,18 +54,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,16 +72,14 @@
    {% for result in results.other %} -
  1. +
  2. {% book_searched result %}
  3. {% endfor %}
- {% endfor %} {% endif %} - {% endblock %}