1 {% extends "catalogue/base.html" %}
3 {% load build_absolute_uri from common_tags %}
6 <h1>{% trans "Cover image" %}</h1>
8 <div style="float: right">
9 <a href="{{ object.file.url }}"><img style="width:400px" src="{{ object.file.url }}" /></a>
10 <br/><a href="{{ object.source_url }}">{{ object.title }}</a> by {{ object.author }},
11 {% if object.license_url %}<a href="{{ object.license_url }}">{% endif %}
12 {{ object.license_name }}</a>
13 {% if object.license_url %}</a>{% endif %}
15 <br/>{% trans "source" %}: {{ object.download_url }}
21 <input type="submit" value="{% trans "Change" %}" />
24 <textarea style="width:100%" rows="5">
25 <dc:relation.coverImage.url xmlns:dc="http://purl.org/dc/elements/1.1/">{{ object.file.url|build_absolute_uri:request }}</dc:relation.coverImage.url>
26 <dc:relation.coverImage.attribution xmlns:dc="http://purl.org/dc/elements/1.1/">{{ object.author }}, {{ object.license_name }}</dc:relation.coverImage.attribution>
27 <dc:relation.coverImage.source xmlns:dc="http://purl.org/dc/elements/1.1/">{{ object.source_url }}</dc:relation.coverImage.source>