add rights for ebooks without campaigns that we list

pull/1/head
eric 2014-05-15 15:18:11 -04:00
parent 4d359b53c1
commit 358a67928a
1 changed files with 5 additions and 1 deletions

View File

@ -410,7 +410,11 @@
{% endif %}
<p>If you'd like to contact us regarding rights for this work, please email <a href="mailto:rights@gluejar.com">rights@gluejar.com</a>.</p>
{% if work.first_ebook %}
<h4>Downloads</h4>
{% if not work.last_campaign %}
<h4 class="tabcontent-title">There is a {{ work.first_ebook.rights }} free ebook for <i>{{work.title}}</i></h4>
{% else %}
<h4>Downloads</h4>
{% endif %}
<div class="pledged-info">
This work has been downloaded {{ work.download_count }} times via unglue.it ebook links.
</div>