<div class="other-tools">
<h2 class="mono">{% trans "See" %}</h2>
<ul class="plain">
- {% if extra_info.source_url %}
- <li><a href="{{ extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the picture" %}</li>
+ {% if picture.extra_info.source_url %}
+ <li><a href="{{ picture.extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the picture" %}</li>
{% endif %}
<li><a href="{{ picture.xml_file.url }}">{% trans "Source XML file" %}</a></li>
- {% if extra_info.about and not hide_about %}
- <li>{% trans "Picture on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a></li>
+ {% if picture.extra_info.about and not hide_about %}
+ <li>{% trans "Picture on" %} <a href="{{ picture.extra_info.about }}">{% trans "Editor's Platform" %}</a></li>
{% endif %}
{% if picture.wiki_link %}
<li><a href="{{ picture.wiki_link }}">{% trans "Picture description on Wikipedia" %}</a></li>
{% endif %}
</ul>
</div>
-
- {% comment %}
- <div class="other-download">
- <h2 class="mono">{% trans "Download" %}</h2>
- <ul class="plain">
- <li>
- {% if related.media.mp3 or related.media.ogg or related.media.daisy %}
- {% trans "Download all audiobooks for this book" %}:
- {% download_audio book %}.
- {% endif %}
- </li>
- {% custom_pdf_link_li book %}
- </ul>
- </div>
- {% endcomment %}
</div>
{% endblock %}