3 {% load catalogue_tags %}
4 {% load book_shelf_tags from social_tags %}
7 <div class="{% block box-class %}book-box{% if audiobooks %} audiobook-box{% endif %}{% endblock %}">
8 <div class="book-box-inner">
10 {% block book-box-pre %}
11 {% include "catalogue/snippets/like_button.html" %}
14 <div class="book-left-column">
15 <div class="book-box-body">
16 {% block book-box-body-pre %}
19 <div class="book-box-head">
21 {% for tag in tags.author %}
22 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>{% if not forloop.last %},
23 {% endif %}{% endfor %}{% for parent in parents %},
24 <a href="{{ parent.get_absolute_url }}">{{ parent.title }}</a>{% endfor %}
27 {% if main_link %}<a href="{{ main_link }}">{% endif %}{{ book.title }}{% if main_link %}</a>{% endif %}
29 {% if book.translator %}
31 tłum. {{ book.translator }}
36 <div class="cover-area">
37 {% if book.cover_thumb %}
38 {% if main_link %}<a href="{{ main_link }}">{% endif %}
39 <img src="{{ book.cover_thumb.url }}" alt="Cover" class="cover" />
40 {% if main_link %}</a>{% endif %}
42 {% block cover-area-extra %}{% endblock %}
46 <span class="category">
47 <span class="mono"> {% trans "Epoch" %}:</span> <span class="book-box-tag">
48 {% for tag in tags.epoch %}
49 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>
50 {% if not forloop.last %}<span>, </span>{% endif %}
54 <span class="category">
55 <span class="mono"> {% trans "Kind" %}:</span> <span class="book-box-tag">
56 {% for tag in tags.kind %}
57 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>
58 {% if not forloop.last %}<span>, </span>{% endif %}
62 <span class="category">
63 <span class="mono"> {% trans "Genre" %}:</span> <span class="book-box-tag">
64 {% for tag in tags.genre %}
65 <a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>
66 {% if not forloop.last %}<span>, </span>{% endif %}
71 <span class="category">
72 <span class="mono"> {% trans "Language" %}:</span> <span class="book-box-tag">
73 <a>{{ book.language_name }}</a>
80 <span class="category">
81 <a{% if stage_note_url %} href="{{ stage_note_url }}"{% endif %}>{{ stage_note }}</a>
86 {% book_shelf_tags book.pk %}
88 <ul class="book-box-tools">
89 <li class="book-box-read">
90 {% if book.html_file %}
91 <a href="{% url 'book_text' book.slug %}" class="downarrow">{% trans "Read online" %}</a>
93 {% if book.print_on_demand %}
94 <a href="{{ book.ridero_link }}" class="downarrow print tlite-tooltip" title="{% trans "Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia.<br>Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne bezpłatnie." %}">{% trans "Print on demand –" %}
95 <img src="{% static 'img/ridero.png' %}" style="height: 0.8em;"/></a>
98 <li class="book-box-download">
99 <a class="downarrow">{% trans "Download" %}:</a>
100 <div class="book-box-formats">
101 {% if book.pdf_file %}
102 <span><a href="{{ book.pdf_file.url}}">PDF</a></span>
104 {% custom_pdf_link_li book %}
105 {% if book.epub_file %}
106 <span><a href="{{ book.epub_file.url}}">EPUB</a></span>
108 {% if book.mobi_file %}
109 <span><a href="{{ book.mobi_file.url}}">MOBI</a></span>
111 {% if book.fb2_file %}
112 <span><a href="{{ book.fb2_file.url}}">FB2</a></span>
114 {% if book.txt_file %}
115 <span><a href="{{ book.txt_file.url}}">TXT</a></span>
117 {% download_audio book %}
121 {% block book-box-extra-info %}{% endblock %}
122 {% block box-append %}
126 {% block right-column %}
128 <div class="audiobook-right-column">
129 {% include 'catalogue/snippets/jplayer.html' %}
134 <div class="clearboth"></div>