fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore comments in xml when indexing; make-xml-zip script
[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
..
5d22251
100644
(file)
--- a/
wolnelektury/templates/catalogue/search_multiple_hits.html
+++ b/
wolnelektury/templates/catalogue/search_multiple_hits.html
@@
-1,28
+1,23
@@
{% extends "base.html" %}
{% load i18n %}
{% extends "base.html" %}
{% load i18n %}
-{% load
catalogue
_tags pagination_tags %}
+{% load
search
_tags pagination_tags %}
-{% block title
%}{% trans "Searching in" %} WolneLektury.pl
{% endblock %}
+{% block title
extra %}{% trans "Search" %}
{% endblock %}
{% block bodyid %}tagged-object-list{% endblock %}
{% block body %}
{% block bodyid %}tagged-object-list{% endblock %}
{% block body %}
- <h1>{% title_from_tags tags %}</h1>
- {% breadcrumbs tags %}
+ {% if did_you_mean %}
+ <span class="did_you_mean">{% trans "Dod you mean" %} <a href="{% url search %}?q={{did_you_mean|urlencode}}">{{did_you_mean|lower}}</a></b>?</span>
+ {% endif %}
+ <!-- tu pójdą trafienia w tagi: Autorzy - z description oraz motywy i rodzaje (z book_count) -->
- <div id="books-list">
- <p>{% trans "More than one result matching the criteria found." %}</p>
- <ul class='matches'>
- {% for match, link, type in results %}
- <li><a href='{{ link }}'>{{ match.name }}</a> ({{ type }})</li>
- {% endfor %}
- </ul>
+ <div id="results">
+ {% for result in results %}
+ {% book_searched result %}
+ {% endfor %}
</div>
</div>
- <div id="set-window">
- <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
- <div class="target">
- <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>
- </div>
- </div>
-{% endblock %}
\ No newline at end of file
+
+
+{% endblock %}