fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aggregate & display results
[wolnelektury.git]
/
wolnelektury
/
templates
/
newsearch
/
search.html
diff --git
a/wolnelektury/templates/newsearch/search.html
b/wolnelektury/templates/newsearch/search.html
index
e018b21
..
4dfc858
100644
(file)
--- a/
wolnelektury/templates/newsearch/search.html
+++ b/
wolnelektury/templates/newsearch/search.html
@@
-2,11
+2,11
@@
{% load i18n %}
{% load catalogue_tags %}
{% load i18n %}
{% load catalogue_tags %}
-{% block title %}
Leśmianator w WolneLektury.pl
{% endblock %}
+{% block title %}
Search
{% endblock %}
-{% block metadescription %}
Stwórz własny wierszmiks z utworów znajdujących się na Wolnych Lekturach.
{% endblock %}
+{% block metadescription %}{% endblock %}
-{% block bodyid %}
lesmianator
{% endblock %}
+{% block bodyid %}
newsearch
{% endblock %}
{% block body %}
<h1>Search</h1>
{% block body %}
<h1>Search</h1>
@@
-19,11
+19,11
@@
<div id="results">
<ol>
<div id="results">
<ol>
- {% for
score,book,parts
in results %}
+ {% for
result
in results %}
<li>
<li>
- <p>{{
book.author}} - {{book.title}} (id: {{book.id}}, score: {{
score}})</p>
+ <p>{{
result.book.pretty_title}} (id: {{result.book.id}}, score: {{result.
score}})</p>
<ul>
<ul>
- {% for
score,part in
parts %}
+ {% for
part in result.
parts %}
{% if part.header %}
<li>W {{part.header}} nr {{part.position}}</li>
{% else %}
{% if part.header %}
<li>W {{part.header}} nr {{part.position}}</li>
{% else %}