commit
8e39548740
|
@ -17,7 +17,9 @@
|
|||
<h2>Create New Edition</h2>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if edition.pk %}
|
||||
<h2>Add Ebook Links for <a href="{% url work edition.work.id %}">{{ edition.work }}</a></h2>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if admin %}
|
||||
|
|
|
@ -221,6 +221,7 @@ Any questions not covered here? Please email us at <a href="mailto:rights@gluej
|
|||
</ul></li>
|
||||
<li>...or send us metadata for books you have rights to.
|
||||
<ul>
|
||||
<li>Use <a href="{% url new_edition '' '' %}">this form</a> to enter the metadata.</li>
|
||||
<li>Your ebooks must have ISBNs assigned.</li>
|
||||
<li>Your metadata should have title, authors, language, description.</li>
|
||||
<li><a href="mailto:support@gluejar.com?subject=loading%20metadata">Contact us</a> to load ONIX or CSV files for you.</li>
|
||||
|
|
|
@ -497,6 +497,8 @@ def new_edition(request, work_id, edition_id, by=None):
|
|||
elif work and work.last_campaign():
|
||||
if request.user in work.last_campaign().managers.all():
|
||||
admin = True
|
||||
elif work==None and request.user.rights_holder.count():
|
||||
admin = True
|
||||
if edition_id:
|
||||
try:
|
||||
edition = models.Edition.objects.get(id = edition_id)
|
||||
|
|
Loading…
Reference in New Issue