- Added librarian as a submodule.
[wolnelektury.git] / wolnelektury / templates / catalogue / book_list.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load catalogue_tags chunks %}
4
5 {% block bodyid %}book-a-list{% endblock %}
6
7 {% block title %}{% trans "Alphabetical listing of works on WolneLektury.pl" %}{% endblock %}
8
9 {% block body %}
10     <h1>{% trans "Alphabetical listing of works" %}</h1>
11     <form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
12         <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>
13     </form>
14
15     <div id="book-list">
16         {% for first_letter, group in books_by_first_letter.items %}
17         <div class="group">
18             <h2>{{ first_letter }}</h2>
19             <ol>
20             {% for book in group %}
21                 <li><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></li>
22             {% endfor %}
23             </ol>
24         </div>
25         {% endfor %}
26     </div>
27 {% endblock %}