- {% if book.has_ogg_file %}
- <ul class="audiobook-list" id="ogg-files">
- {% for media in book.get_ogg %}
- <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
- {% if book.has_daisy_file %}
- <ul class="audiobook-list" id="daisy-files">
- {% for media in book.get_daisy %}
- <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
- </div> <!-- /audiobooks -->
- {% if projects|length > 1 %}
- <p>{% trans "Audiobooks were prepared as a part of the projects:" %}</p>
- <ul>
- {% for cs, fb in projects %}
- <li>
- {% if fb %}
- {% blocktrans %}{{ cs }}, funded by {{ fb }}{% endblocktrans %}
- {% else %}
- {{ cs }}
- {% endif %}
- </li>
- {% endfor %}
- </ul>
- {% else %}
- <p>
- {% with projects.0.0 as cs %}
- {% with projects.0.1 as fb %}
- {% if fb %}
- {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %}
- {% else %}
- {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %}
- {% endif %}
- {% endwith %}
- {% endwith %}
- </p>
- {% endif %}
- {% endif %}
- </div>
- </div>
-
- {% if book_children %}
- {% autopaginate book_children 10 %}
- <div id="book-children">
- <ol>
- {% for book in book_children %}
- <li>{{ book.short_html }}</li>
- {% endfor %}
- </ol>
- </div>
- {% paginate %}
- {% endif %}
-
- </div>
-
- <div id="tags-list">
- <div id="book-info">
- <h2>{% trans "Details" %}</h2>
- <ul>
- <li>
- {% trans "Author" %}:
- {% for tag in categories.author %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
- {% endfor %}
- </li>
- <li>
- {% trans "Epoch" %}:
- {% for tag in categories.epoch %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
- {% endfor %}
- </li>
- <li>
- {% trans "Kind" %}:
- {% for tag in categories.kind %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
- {% endfor %}
- </li>
- <li>
- {% trans "Genre" %}:
- {% for tag in categories.genre %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
- {% endfor %}
- </li>
- </ul>
- <h2>{% trans "Other resources" %}</h2>
- <ul>
- {% if extra_info.source_url %}
- <li><a href="{{ extra_info.source_url }}">{% trans "Source of the book" %}</a></li>
- {% endif %}
- {% if extra_info.about and not hide_about %}
- <li><a href="{{ extra_info.about }}">{% trans "Book on the Editor's Platform" %}</a></li>
- {% endif %}
- {% if book.gazeta_link %}
- <li><a href="{{ book.gazeta_link }}">{% trans "Book description on Lektury.Gazeta.pl" %}</a></li>
- {% endif %}
- {% if book.wiki_link %}
- <li><a href="{{ book.wiki_link }}">{% trans "Book description on Wikipedia" %}</a></li>
- {% endif %}
- </ul>
- <p><a href="{{ book.xml_file.url }}">{% trans "View XML source" %}</a></p>
- <p><a href="{% url poem_from_book book.urlid %}">Miksuj ten utwór</a></p>
- </div>
- <div id="themes-list">
- <h2>{% trans "Work's themes " %}</h2>
- <ul>
- {% for theme in book_themes %}
- <li><a href="{% url book_fragments book.urlid theme.slug %}">{{ theme }} ({{ theme.count }})</a></li>
- {% endfor %}
- </ul>
- </div>
- <div class="clearboth"></div>
- </div>