1 {% extends "picture/picture_short.html" %}
3 {% load picture_tags thumbnail %}
6 {% block box-class %}book-wide-box{% endblock %}
8 {% block picture-view %}
9 <a href="{{ main_link }}">
10 {% thumbnail picture.image_file "535" upscale=0 as thumb %}
11 <img class="cover" src="{{thumb.url}}"/>
17 {% block extra_categories %}
18 {% with extra_info=picture.get_extra_info_json %}
19 {% if extra_info.styles %}
20 <span class="category">
21 <span class="mono"> {% trans "Style" %}:</span> <span class="book-box-tag">
22 {% for tag in extra_info.styles %}
24 {% if not forloop.last %}<span>, </span>{% endif %}
30 {% if extra_info.medium %}
31 <span class="category">
32 <span class="mono"> {% trans "Medium" %}:</span> <span class="book-box-tag">
33 <a>{{ extra_info.medium }}</a>
38 {% if extra_info.original_dimensions %}
39 <span class="category">
40 <span class="mono"> {% trans "Dimensions" %}:</span> <span class="book-box-tag">
41 <a>{{ extra_info.original_dimensions }}</a>
46 <span class="category">
47 <span class="mono"> {% trans "Date" %}:</span> <span class="book-box-tag">
48 <a>{{ extra_info.created_at }}</a>
55 {% block book-box-extra-info %}
56 {% if themes or things%}
57 <div class="hidden-box-wrapper" id="theme-list-wrapper">
59 <a class="hidden-box-trigger theme-list-link" href="#">{% trans "Motifs, themes and objects" %}</a>
61 <div class="hidden-box">
63 <p>{% trans "Motifs and themes" %}</p>
65 {% for theme in themes %}
66 <li><a href="{% url 'picture_viewer' picture.slug %}#theme-{{theme.slug}}">{{ theme }}</a></li>
71 <p>{% trans "Objects" %}</p>
73 {% for thing in things %}
74 <li><a href="{% url 'picture_viewer' picture.slug %}#object-{{thing.slug}}">{{ thing }}</a></li>
86 {% block right-column %}
87 {% with extra_info=picture.get_extra_info_json %}
88 <div class="right-column">
89 <div class="other-tools">
90 <h2 class="mono">{% trans "See" %}</h2>
92 {% if extra_info.source_url %}
93 <li><a href="{{ extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the picture" %}</li>
95 <li><a href="{{ picture.xml_file.url }}">{% trans "Source XML file" %}</a></li>
96 {% if extra_info.about and not hide_about %}
97 <li>{% trans "Picture on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a></li>
99 {% if picture.wiki_link %}
100 <li><a href="{{ picture.wiki_link }}">{% trans "Picture description on Wikipedia" %}</a></li>