3 {% load catalogue_tags social_tags %}
4 {% load picture_tags %}
5 <div class="{% block box-class %}book-box{% endblock %} picture">
6 <div class="book-box-inner">
8 <div class="book-box-body">
10 <div class="book-box-head">
12 {% for tag in tags.author %}
13 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %},
14 {% endif %}{% endfor %}
17 {% if main_link %}<a href="{{ main_link }}">{% endif %}
19 {% if main_link %}</a>{% endif %}
25 <div class="cover-area">
26 {% block picture-view %}
27 {% if main_link %}<a href="{{ main_link }}">{% endif %}
28 {% thumbnail picture.image_file "216x288" crop="center" as thumb %}
29 <img class="cover" src="{{thumb.url}}"/>
31 {% if main_link %}</a>{% endif %}
33 {# what about licensing icons here #}
39 <span class="category">
40 <span class="mono"> {% trans "Epoch" %}:</span> <span class="book-box-tag">
41 {% for tag in tags.epoch %}
42 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
43 {% if not forloop.last %}<span>, </span>{% endif %}
47 <span class="category">
48 <span class="mono"> {% trans "Kind" %}:</span> <span class="book-box-tag">
49 {% for tag in tags.kind %}
50 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
51 {% if not forloop.last %}<span>, </span>{% endif %}
55 <span class="category">
56 <span class="mono"> {% trans "Genre" %}:</span> <span class="book-box-tag">
57 {% for tag in tags.genre %}
58 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
59 {% if not forloop.last %}<span>, </span>{% endif %}
63 {% block extra_categories %}
69 <ul class="book-box-tools">
70 <li class="book-box-read">
71 <a href="{% url 'picture_viewer' picture.slug %}" class="downarrow">{% trans "View online" %}</a>
73 <li class="book-box-download">
74 <a href="{{picture.image_file.url}}" class="downarrow">{% trans "download original" %}</a>
77 {% block book-box-extra-info %}{% endblock %}
78 {% block box-append %}
80 {% block right-column %}
82 <div class="clearboth"></div>