Fixed #724: nicer search results
[wolnelektury.git] / wolnelektury / templates / catalogue / search_multiple_hits.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load catalogue_tags pagination_tags %}
4
5 {% block title %}{% trans "Searching in" %} WolneLektury.pl{% endblock %}
6
7 {% block bodyid %}tagged-object-list{% endblock %}
8
9 {% block body %}
10     <h1>{% title_from_tags tags %}</h1>
11     {% breadcrumbs tags %}
12
13     <div id="books-list">
14         <p>{% trans "More than one result matching the criteria found." %}</p>
15         <ul class='matches'>
16         {% for match, link, type in results %}
17           <li>{% trans type %}: <a href='{{ link }}'>
18             {% ifequal type "book" %}
19                 {% book_title match %}
20             {% else %}
21                 {{ match.name }}
22             {% endifequal %}
23           </a></li>
24         {% endfor %}
25         </ul>
26     </div>
27
28     <div id="set-window">
29         <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
30         <div class="target">
31             <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>
32         </div>
33     </div>
34 {% endblock %}