1 {% extends "base.html" %}
3 {% load catalogue_tags pagination_tags %}
7 {% block titleextra %}{{ picture.title }}{% endblock %}
9 {% block bodyid %}picture-detail{% endblock %}
12 <h1>{{picture.title}}</h1>
15 <div id='breadcrumbs'>
16 {% if categories.author %}
17 {% for tag in categories.author %}
18 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
24 {% thumbnail picture.image_file "400x500" upscale="false" as im %}
25 <img style="margin:{{ im|margin:"500x500" }}" src="{{ im.url }}" width="{{ im.x }}" height="{{ im.y }}" />
28 {% if picture.info.license %}
29 <p>{% trans "Work is licensed under " %} <a href="{{ picture.info.license }}">{{ picture.info.license_description }}</a>.</p>
31 <p>{% trans "Based on" %}: {{ picture.info.source_name }}</p>
32 {% if picture.info.description %}
33 <div id="description">
34 <div id='description-long'>{{ picture.info.description|safe }}</div>
35 {%comment%} <div id='description-short'>{{ picture.info.description|safe|truncatewords_html:30 }}</div>{%endcomment%}
37 <div id="toggle-description"><p></p></div>
44 <h2>{% trans "Details" %}</h2>
48 {% for tag in categories.author %}
49 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
54 {% for tag in categories.epoch %}
55 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
60 {% for tag in categories.kind %}
61 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
65 <h2>{% trans "Other resources" %}</h2>
67 {% if picture.info.source_url %}
68 <li><a href="{{ picture.info.source_url }}">{% trans "Source of the image" %}</a></li>
70 {% if picture.info.about and not hide_about %}
71 <li><a href="{{ picture.info.about }}">{% trans "Image on the Editor's Platform" %}</a></li>
74 {% if book.gazeta_link %}
75 <li><a href="{{ book.gazeta_link }}">{% trans "Picture description on Lektury.Gazeta.pl" %}</a></li>
77 {% if book.wiki_link %}
78 <li><a href="{{ book.wiki_link }}">{% trans "Book description on Wikipedia" %}</a></li>
82 <p><a href="{{ picture.xml_file.url }}">{% trans "View XML source" %}</a></p>
84 <div id="themes-list">
85 <h2>{% trans "Work's themes " %}</h2>
87 {% for theme in picture_themes %}
88 <li><a href="{{ theme.get_absolute_url }}">{{ theme }} ({{ theme.count }})</a></li>
92 <div class="clearboth"></div>
95 <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
97 <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>