3 {% load catalogue_tags %}
4 {% load book_shelf_tags from social_tags %}
6 <div class="{% block box-class %}book-box{% if audiobooks %} audiobook-box{% endif %}{% endblock %}">
7 <div class="book-box-inner">
9 {% block book-box-pre %}
10 {% include "catalogue/snippets/like_button.html" %}
13 <div class="book-left-column">
14 <div class="book-box-body">
15 {% block book-box-body-pre %}
18 <div class="book-box-head">
20 {% for tag in tags.author %}
21 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>{% if not forloop.last %},
22 {% endif %}{% endfor %}{% for parent in parents %},
23 <a href="{{ parent.get_absolute_url }}">{{ parent.title }}</a>{% endfor %}
26 {% if main_link %}<a href="{{ main_link }}">{% endif %}{{ book.title }}{% if main_link %}</a>{% endif %}
28 {% if book.translator %}
30 tłum. {{ book.translator }}
35 <div class="cover-area">
36 {% if book.cover_thumb %}
37 {% if main_link %}<a href="{{ main_link }}">{% endif %}
38 <img src="{{ book.cover_thumb.url }}" alt="Cover" class="cover" />
39 {% if main_link %}</a>{% endif %}
41 {% block cover-area-extra %}{% endblock %}
45 <span class="category">
46 <span class="mono"> {% trans "Epoch" %}:</span> <span class="book-box-tag">
47 {% for tag in tags.epoch %}
48 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>
49 {% if not forloop.last %}<span>, </span>{% endif %}
53 <span class="category">
54 <span class="mono"> {% trans "Kind" %}:</span> <span class="book-box-tag">
55 {% for tag in tags.kind %}
56 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>
57 {% if not forloop.last %}<span>, </span>{% endif %}
61 <span class="category">
62 <span class="mono"> {% trans "Genre" %}:</span> <span class="book-box-tag">
63 {% for tag in tags.genre %}
64 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>
65 {% if not forloop.last %}<span>, </span>{% endif %}
70 <span class="category">
71 <span class="mono"> {% trans "Language" %}:</span> <span class="book-box-tag">
72 <a>{{ book.language_name }}</a>
79 <span class="category">
80 <a{% if stage_note_url %} href="{{ stage_note_url }}"{% endif %}>{{ stage_note }}</a>
85 {% book_shelf_tags book.pk %}
87 <ul class="book-box-tools">
88 <li class="book-box-read">
89 {% if book.html_file %}
90 <a href="{% url 'book_text' book.slug %}" class="downarrow">{% trans "Read online" %}</a>
92 {% if book.print_on_demand %}
93 <a href="{{ book.ridero_link }}" class="downarrow print">{% trans "Print on demand" %}</a>
96 <li class="book-box-download">
97 <a class="downarrow">{% trans "Download" %}:</a>
98 <div class="book-box-formats">
99 {% if book.pdf_file %}
100 <span><a href="{{ book.pdf_file.url}}">PDF</a></span>
102 {% custom_pdf_link_li book %}
103 {% if book.epub_file %}
104 <span><a href="{{ book.epub_file.url}}">EPUB</a></span>
106 {% if book.mobi_file %}
107 <span><a href="{{ book.mobi_file.url}}">MOBI</a></span>
109 {% if book.fb2_file %}
110 <span><a href="{{ book.fb2_file.url}}">FB2</a></span>
112 {% if book.txt_file %}
113 <span><a href="{{ book.txt_file.url}}">TXT</a></span>
115 {% download_audio book %}
119 {% block book-box-extra-info %}{% endblock %}
120 {% block box-append %}
124 {% block right-column %}
126 <div class="audiobook-right-column">
127 {% include 'catalogue/snippets/jplayer.html' %}
132 <div class="clearboth"></div>