X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bcd038fcea6b45b29ff3831b31f758dcec6b4157..5d3f4483d48655682297aa3c945c997633ea45d2:/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 31e67a8c1..70988f395 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -8,11 +8,46 @@ {% block body %} {% if did_you_mean %} - {% trans "Dod you mean" %} {{did_you_mean|lower}}? + {% trans "Did you mean" %} {{did_you_mean|lower}}? {% endif %} +
+ {% if tags.author %} +
+
{% trans "Authors" %}:
+
+ {% inline_tag_list tags.author %} +
+
+ {% endif %} + {% if tags.kind %} +
+
{% trans "Kinds" %}:
+
+ {% inline_tag_list tags.kind %} +
+
+ {% endif %} + {% if tags.genre %} +
+
{% trans "Genres" %}:
+
+ {% inline_tag_list tags.genre %} +
+
+ {% endif %} + {% if tags.epoch %} +
+
{% trans "Epochs" %}:
+
+ {% inline_tag_list tags.epoch %} +
+
+ {% endif %} +
+ {% if results.author %}
@@ -21,11 +56,7 @@
    - {% for author in results.author %} -
  1. - {% book_short author.book %} -
  2. - {% endfor %} + {% for author in results.author %}
  3. {% book_short author.book %}
  4. {% endfor %}
{% endif %} @@ -38,17 +69,14 @@
    - {% for result in results.title %} -
  1. + {% for result in results.title %}
  2. {% book_short result.book %} -
  3. - {% endfor %} + {% endfor %}
{% endif %} {% if results.content %} - {% for result in results.content %}

{% trans "Results in text" %}

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