fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed #724: nicer search results
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_list.html
diff --git
a/wolnelektury/templates/catalogue/book_list.html
b/wolnelektury/templates/catalogue/book_list.html
index
1f87217
..
c5f9164
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_list.html
+++ b/
wolnelektury/templates/catalogue/book_list.html
@@
-1,16
+1,17
@@
{% extends "base.html" %}
{% extends "base.html" %}
+{% load i18n %}
{% load catalogue_tags chunks %}
{% block bodyid %}book-a-list{% endblock %}
{% load catalogue_tags chunks %}
{% block bodyid %}book-a-list{% endblock %}
-{% block title %}
Alfabetyczny spis utworów w WolneLektury.pl
{% endblock %}
+{% block title %}
{% trans "Alphabetical listing of works on WolneLektury.pl" %}
{% endblock %}
{% block body %}
{% block body %}
- <h1>
Alfabetyczny spis utworów
</h1>
+ <h1>
{% trans "Alphabetical listing of works" %}
</h1>
<form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
<form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
- <p>{{ form.q }} <input type="submit" value="
Szukaj" /> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej
</a></p>
+ <p>{{ form.q }} <input type="submit" value="
{% trans "Search" %}" /> <strong>{% trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to main page" %}
</a></p>
</form>
</form>
-
+
<div id="book-list">
{% for first_letter, group in books_by_first_letter.items %}
<div class="group">
<div id="book-list">
{% for first_letter, group in books_by_first_letter.items %}
<div class="group">
@@
-21,6
+22,6
@@
{% endfor %}
</ol>
</div>
{% endfor %}
</ol>
</div>
- {% endfor %}
+ {% endfor %}
</div>
</div>
-{% endblock %}
+{% endblock %}
\ No newline at end of file