1 {% extends "base.html" %}
 
   3 {% load catalogue_tags chunks %}
 
   5 {% block bodyid %}book-a-list{% endblock %}
 
   7 {% block title %}{% trans "Listing of all works on WolneLektury.pl" %}{% endblock %}
 
  10     <h1>{% block book_list_header %}{% trans "Listing of all works" %}{% endblock %}</h1>
 
  11     <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
 
  12         <p>{{ form.q }} {{ form.tags }} <input type="submit" value="{% trans "Search" %}" />
 
  13             <strong>{% trans "or" %}</strong> {% trans "see" %}: 
 
  14             <span class='collections'>
 
  15                 <a href="{% url catalogue.views.book_list %}">{% trans "all books" %}</a>
 
  16                 <a href="{% url catalogue.views.audiobook_list %}">{% trans "audiobooks" %}</a>
 
  17                 <a href="{% url catalogue.views.daisy_list %}">{% trans "DAISY" %}</a>
 
  20     <div class="column-left">{% block book_list_info %}{% endblock %}</div><div style='clear:both;'></div>
 
  22     <div id="book-list-nav">
 
  23         {% trans "Table of Content" %}
 
  24         {% for index, authors in books_nav.items %}
 
  26                     <li><a class="book-list-index" href="#">{{ index|upper }}</a></li>
 
  27                     <ul class="book-list-show-index">
 
  28                     {% for author in authors %}
 
  29                         <li><a href="#{{ author.slug }}">{{ author }}</a></li>
 
  36         {% book_tree orphans books_by_parent %}
 
  37         {% for author, group in books_by_author.items %}
 
  39                 <a name="{{ author.slug }}">
 
  41                     <h2><a href="{{ author.get_absolute_url }}">{{ author }}</a></h2>
 
  42                     {% book_tree group books_by_parent %}
 
  47     <div id="book-list-up">
 
  48         <p><a href="#top">{% trans "↑ top ↑" %}</a></p>