X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891b9e3b7ecaedc9ac32bc941400a267c77482a0..0c10af94c3d8f16624d5a8ac775502f92c085cde:/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 fe4514009..b569e7dce 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -9,14 +9,20 @@ {% block body %} <h1>{% title_from_tags tags %}</h1> {% breadcrumbs tags %} - + <div id="books-list"> <p>{% trans "More than one result matching the criteria found." %}</p> - <ul class='matches'> + <ul class='matches'> {% for match, link, type in results %} - <li><a href='{{ link }}'>{{ match.name }}</a> ({{ type }})</li> + <li>{% trans type %}: <a href='{{ link }}'> + {% ifequal type "book" %} + {% book_title match %} + {% else %} + {{ match.name }} + {% endifequal %} + </a></li> {% endfor %} - </ul> + </ul> </div> <div id="set-window">