fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uk-l10n
[wolnelektury.git]
/
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
8e99cdc
..
b569e7d
100644
(file)
--- 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>
<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 %}
{% 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 %}
{% endfor %}
-
</ul>
+ </ul>
</div>
<div id="set-window">
</div>
<div id="set-window">