3 {% load catalogue_tags social_tags %}
4 {% load picture_tags %}
6 <div class="{% block box-class %}book-box{% endblock %} picture">
7 <div class="book-box-inner" style="position:relative">
8 <div class="cover-area">
9 {% block picture-view %}
10 <a href="{{ picture.get_absolute_url }}">
11 {% thumbnail picture.image_file "216x288" crop="center" as thumb %}
12 <img class="cover" src="{{thumb.url}}"/>
16 {# what about licensing icons here #}
18 <div class="book-box-body">
20 <div class="book-box-head">
21 <div class="mono author">
22 {% for author in tags.author %}
23 <a href="{% tag_url 'author' author.slug %}">{{ author }}</a>{% if not forloop.last %},{% endif %}
26 <div class="title"><a href="{{ picture.get_absolute_url }}">{{ picture.title }}</a></div>
31 <span class="mono">{% trans "Epoch" %}: </span>
32 <span class="book-box-tag">
33 {% for tag in tags.epoch %}
34 <a href="{{ tag.get_absolute_url }}">{{ tag.name }} </a>{% if not forloop.last %},{% endif %}
38 <span class="mono">{% trans "Kind" %}: </span>
39 <span class="book-box-tag">
40 {% for tag in tags.kind %}
41 <a href="{{ tag.get_absolute_url }}">{{ tag.name }} </a>{% if not forloop.last %},{% endif %}
48 <ul class="book-box-tools">
49 <li class="book-box-read">
50 <a href="{% url 'picture_viewer' picture.slug %}" class="mono downarrow">{% trans "View online" %}</a>
52 <li class="book-box-download">
53 <a href="{{picture.image_file.url}}" class="mono downarrow">{% trans "download original" %}</a>
55 <!-- <li class="book-box-download hoverget">
56 <a class="mono downarrow hoverclick">{% trans "Download" %}</a>
57 <div class="book-box-formats mono">
58 {% if picture.image_file %}
59 <span><a href="{{ picture.image_file.url}}">JPG</a> {% trans "original" %}</span>
64 <div class="clearboth"/>