2016-05-11 14:41:50 +00:00
|
|
|
<div class="clearfix">
|
2014-03-11 21:34:27 +00:00
|
|
|
<div class="editions">
|
|
|
|
{% if edition.googlebooks_id %}
|
|
|
|
<div class="image">
|
|
|
|
<img src="{{ edition.cover_image_small }}" title="edition cover" alt="edition cover" />
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<div class="metadata" id="edition_{{edition.id}}">
|
2016-07-25 18:50:19 +00:00
|
|
|
{% if edition.title != work.title %}
|
2014-03-11 21:34:27 +00:00
|
|
|
Title: {{edition.title}}<br />
|
2016-07-25 18:50:19 +00:00
|
|
|
{% endif %}
|
2014-03-11 21:34:27 +00:00
|
|
|
{% if edition.authors.all.0 %}
|
|
|
|
Contributors:
|
|
|
|
{% for author in edition.authors.all %}
|
|
|
|
{{author}},
|
|
|
|
{% endfor %}
|
|
|
|
<br />
|
|
|
|
{% endif %}
|
2016-08-16 21:16:44 +00:00
|
|
|
{% if edition.note %}
|
|
|
|
{{ edition.note }}.<br />
|
|
|
|
{% endif %}
|
2014-03-11 21:34:27 +00:00
|
|
|
{% if edition.publisher %}
|
2015-04-28 03:24:02 +00:00
|
|
|
Publisher: <a href="{% url 'bypubname_list' edition.publisher_name.id %}">{{edition.publisher}}</a><br />
|
2014-03-11 21:34:27 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if edition.publication_date %}
|
|
|
|
Published: {{ edition.publication_date }}<br />
|
|
|
|
{% endif %}
|
|
|
|
{% if edition.isbn_13 %}
|
|
|
|
ISBN: <span itemprop="isbn">{{ edition.isbn_13 }}</span><br />
|
|
|
|
{% endif %}
|
|
|
|
{% if edition.oclc %}
|
|
|
|
OCLC: <a href="http://www.worldcat.org/oclc/{{ edition.oclc }}">{{ edition.oclc }}</a><br />
|
|
|
|
{% endif %}
|
2016-08-08 20:27:12 +00:00
|
|
|
{% if edition.doi %}
|
|
|
|
DOI: <a href="https://dx.doi.org/{{ edition.doi }}">{{ edition.doi }}</a><br />
|
|
|
|
{% endif %}
|
2014-10-08 20:23:24 +00:00
|
|
|
{% if edition.http_id %}
|
|
|
|
web: <a href="{{ edition.http_id }}">{{ edition.http_id }}</a><br />
|
|
|
|
{% endif %}
|
2014-04-29 18:53:18 +00:00
|
|
|
{% if not managing %}
|
|
|
|
{% if user.is_staff %}
|
2015-09-21 20:07:41 +00:00
|
|
|
<a href="{% url 'new_edition' work_id edition.id %}">Edit this edition</a><br />
|
2016-07-25 18:50:19 +00:00
|
|
|
{% elif user in work.last_campaign.managers.all %}
|
2015-09-21 20:07:41 +00:00
|
|
|
<a href="{% url 'new_edition' work_id edition.id %}">Edit this edition</a><br />
|
2016-07-25 18:50:19 +00:00
|
|
|
{% elif user.rights_holder.count and not work.last_campaign %}
|
2015-12-17 15:29:35 +00:00
|
|
|
<a href="{% url 'new_edition' work_id edition.id %}">Edit this edition</a><br />
|
2016-07-25 18:50:19 +00:00
|
|
|
{% endif %}
|
2015-09-21 20:07:41 +00:00
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<a href="{% url 'manage_ebooks' edition.id %}">Add ebook link</a><br />
|
|
|
|
{% endif %}
|
2014-04-29 18:53:18 +00:00
|
|
|
{% if edition.googlebooks_id %}
|
|
|
|
See <a href="https://encrypted.google.com/books?id={{ edition.googlebooks_id }}">this edition on Google Books</a><br />
|
|
|
|
{% endif %}
|
2014-10-14 14:08:08 +00:00
|
|
|
{% endif %}
|
2014-10-27 20:57:35 +00:00
|
|
|
{% if user.libpref %}{% if edition.ebooks.all or edition.ebook_files.all %}
|
2015-04-28 03:24:02 +00:00
|
|
|
<a href="{% url 'upload_marc' %}?edition={{ edition.id }}">Upload</a> a MARC record for this edition. <br />
|
2014-03-11 21:34:27 +00:00
|
|
|
{% endif %} {% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|