X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c0e373447323b5e33b273859e790a2054771afa..fd8cd1a9e08a5b31819da53d96a6775d31c20748:/src/catalogue/templates/catalogue/search_multiple_hits.html diff --git a/src/catalogue/templates/catalogue/search_multiple_hits.html b/src/catalogue/templates/catalogue/search_multiple_hits.html index 28e3985b9..937b9266d 100644 --- a/src/catalogue/templates/catalogue/search_multiple_hits.html +++ b/src/catalogue/templates/catalogue/search_multiple_hits.html @@ -3,139 +3,128 @@ {% load pagination_tags %} {% load inline_tag_list from catalogue_tags %} {% load book_searched from search_tags %} -{% load ssi_include from ssify %} +{% load set_get_parameter %} {% block titleextra %}{% trans "Search" %}{% endblock %} {% block bodyid %}tagged-object-list{% endblock %} {% block body %} + +
+ format: + {% if not set.format %}dowolny{% else %}dowolny{% endif %} + {% if set.format == "tekst" %}tekst{% else %}tekst{% endif %} + {% if set.format == "audio" %}audiobook{% else %}audiobook{% endif %} + {% if set.format == "synchro" %}DAISY{% else %}DAISY{% endif %} + {% if set.format == "obraz" %}obraz{% else %}obraz{% endif %} +
+ ++ {% trans "language" %}: + {% if not set.lang %}dowolny{% else %}dowolny{% endif %} + {% if set.lang == "pol" %}polski{% else %}polski{% endif %} + {% if set.lang == "eng" %}angielski{% else %}angielski{% endif %} + {% if set.lang == "fre" %}francuski{% else %}francuski{% endif %} + {% if set.lang == "ger" %}niemiecki{% else %}niemiecki{% endif %} + {% if set.lang == "lit" %}litewski{% else %}litewski{% endif %} +
+ + ++ {% trans "epoch" %}: + {% if not set.epoch %}dowolna{% else %}dowolna{% endif %} + + {% for tag in tags.epoch %} + {% if set.epoch == tag.slug %} + {{ tag.name }} + {% else %} + + {{ tag.name }} + + {% endif %} + {% endfor %} +
++ {% trans "kind" %}: + {% if not set.kind %}dowolny{% else %}dowolny{% endif %} + {% for tag in tags.kind %} + {% if set.kind == tag.slug %} + {{ tag.name }} + {% else %} + + {{ tag.name }} + + {% endif %} + {% endfor %} +
+ + {% comment %} ++ {% trans "genre" %}: + {% if not set.genre %}dowolny{% else %}dowolny{% endif %} + {% for tag in tags.genre %} + {% if set.genre == tag.slug %} + {{ tag.name }} + {% else %} + + {{ tag.name }} + + {% endif %} + {% endfor %} +
+ {% endcomment %} +