diff --git a/frontend/templates/work.html b/frontend/templates/work.html index e6d2f79c..6676af29 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -69,6 +69,105 @@ {% else %} {{ work.last_campaign.description|safe }} {% endif %} + +
The rights holder, {% for claim in work.claim.all %} + {% if claim.status == 'active' %} + {{ claim.rights_holder.rights_holder_name }} + {% endif %} + {% endfor %} + , has agreed to release {{work.title}} to the world as a Creative Commons licensed ebook ({{ work.last_campaign.license }}) if ungluers can join together to raise ${{ work.last_campaign.target|floatformat:0|intcomma }} by {{ work.last_campaign.deadline }}. + You can help!
+ {% endif %} + {% if work.last_campaign.type == 2 %} +The rights holder, {% for claim in work.claim.all %} + {% if claim.status == 'active' %} + {{ claim.rights_holder.rights_holder_name }} + {% endif %} + {% endfor %} + , has agreed to release {{work.title}} to the world as a Creative Commons licensed ebook ({{ work.last_campaign.license }}) on {{ work.last_campaign.cc_date }}. For every copy that ungluers purchase, that date gets sooner. ${{ work.last_campaign.left|floatformat:0|intcomma }} of sales will unglue the book TODAY. + You can help!
+ {% endif %} + {% if work.last_campaign.type == 3 %} +The rights holder, {% for claim in work.claim.all %} + {% if claim.status == 'active' %} + {{ claim.rights_holder.rights_holder_name }} + {% endif %} + {% endfor %} + , has released {{work.title}} to the world as a Creative Commons licensed ebook ({{ work.last_campaign.license }}) . + You can help us say "Thank You!" so that other creators will do the same.
+ {% endif %} +The rights holder, {% for claim in work.claim.all %} + {% if claim.status == 'active' %} + {{ claim.rights_holder.rights_holder_name }} + {% endif %} + {% endfor %} + , has agreed to release {{work.title}} to the world as a Creative Commons licensed ebook ({{ work.last_campaign.license }}) thanks to the efforts of ungluers like you.
+This work has been claimed by {{ rights_holder_name }}.
+ {% else %} + {% if claimstatus == 'disputed' %} +Rights claims are pending.
+ {% else %} + {% if claimstatus == 'one_pending' %} +A claim for this work by {{ rights_holder_name }} is pending.
+ {% else %} + {% if request.user.rights_holder.all.count %} + Is this work yours? Claim it: