4 <div class="{% block box-class %}book-box{% endblock %}">
5 <div class="book-box-inner" style="position: relative;">
8 <a href="{{ book.get_absolute_url }}">
11 {% thumbnail book.cover "216x288" as thumb %}
19 {% block right-column %}
21 <div class="book-box-body">
24 <div class="star {% if not request.user|likes:book %}un{% endif %}like">
25 <div class="if-like" >
26 <a id="social-book-sets-{{ book.slug }}" data-callback='social-book-sets' class='ajaxable' href='{% url social_book_sets book.slug %}'>
30 <div class="if-unlike">
31 <form id="social-like-book-{{ book.slug }}" data-callback='social-like-book' method='post' class='ajax-form' action='{% url social_like_book book.slug %}'>
32 <button type='submit'>☆</button>
38 <div class="book-box-head">
39 <div class="mono author">
40 {% for name, url in related.tags.author %}
41 {{ name }}{% if not forloop.last %}, {% endif %}
44 <div class="title">{{ book.title }}</div>
49 <span class="mono">{% trans "Epoch" %}:</span> <span class="book-box-tag">
50 {% for name, url in related.tags.epoch %}
51 <a href="{{ url }}">{{ name }} </a>
55 <span class="mono">{% trans "Kind" %}:</span> <span class="book-box-tag">
56 {% for name, url in related.tags.kind %}
57 <a href="{{ url }}">{{ name }} </a>
61 <span class="mono">{% trans "Genre" %}:</span> <span class="book-box-tag">
62 {% for name, url in related.tags.genre %}
63 <a href="{{ url }}">{{ name }} </a>
70 <ul class="book-box-tools">
71 <li class="book-box-read">
72 {% if book.html_file %}
73 <a href="{% url book_text book.slug %}" class="mono downarrow">{% trans "Read online" %}</a>
76 <li class="book-box-download">
77 <a class="mono downarrow">{% trans "Download" %}</a>
78 <div class="book-box-formats mono">
80 <span><a href="{{formats.pdf.url}}">PDF</a> do wydruku</span>
83 <span><a href="{{formats.epub.url}}">EPUB</a> na czytnik</span>
86 <span><a href="{{formats.mobi.url}}">MOBI</a> na Kindle</span>
89 <span><a href="{{formats.txt.url}}">TXT</a> do zadań specjalnych</span>
93 <li class="book-box-audiobook">
94 {% if related.media.mp3 or related.media.ogg %}
95 <a href="{% url book_player book.slug %}" class="open-player mono downarrow">{% trans "Listen" %}</a>
99 {% block box-append %}