X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..854b0db58a805fd7ec2d262abda0aef02ca6e469:/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 8e99cdc97..b569e7dce 100644 --- a/wolnelektury/templates/catalogue/search_multiple_hits.html +++ b/wolnelektury/templates/catalogue/search_multiple_hits.html @@ -12,11 +12,17 @@ <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">