{% extends "base.html" %} {% load comments %} {% block title %}— {% if work.last_campaign_status == 'ACTIVE' %}Campaign to unglue {% endif %}{{ work.title }}{% endblock %} {% block extra_css %} {% endblock %} {% block base_js %} {% endblock %} {% block content %} {% with work.last_campaign_status as status %}
{% if work.first_ebook %} AVAILABLE! {% else %}{% if work.last_campaign %} {% if status == 'ACTIVE' %} Campaign in Progress:
${{ work.last_campaign.current_total }}/${{ work.last_campaign.target }} {% else %} {% if status == 'SUCCESSFUL' %} Unglued on {{ work.last_campaign.deadline|date:"M j, Y"}}!
${{ work.last_campaign.current_total }} raised of ${{ work.last_campaign.target }} goal {% else %}{% if status == 'INITIALIZED' %} Campaign starting soon {% else %}{% if status == 'SUSPENDED' %} Campaign suspended.
See FAQ. {% else %}{% if status == 'WITHDRAWN' %} Campaign withdrawn.
See FAQ. {% else %}{% if wishers == 1 %} {{ wishers }} Ungluer is WISHING {% else %} {{ wishers }} Ungluers are WISHING {% endif %}{% endif %}{% endif %}{% endif %}{% endif %} {% endif %} {% else %} {% if wishers == 1 %} {{ wishers }} Ungluer is WISHING {% else %} {{ wishers }} Ungluers are WISHING {% endif %} {% endif %}{% endif %}
 
 
{% include "explore.html" %}

{{ work.title }}

{{ work.author }}

{{ pubdate }}

{% if status == 'ACTIVE' %} {% if pledged %}
{% else %}
{% endif %} {% endif %}
{% if work.first_ebook %} {% if wishers == 1 %} 1 Ungluer is {% else %} {{ wishers }} Ungluers are {% endif %} enjoying this Work {% else %}{% if status == 'ACTIVE' %} {% if work.last_campaign.supporters.count == 1 %} One Ungluer has {% else %} {{ work.last_campaign.supporters.count }} Ungluers have {% endif %} pledged ${{ work.last_campaign.current_total }}
toward a ${{ work.last_campaign.target }} goal {% else %} {% if wishers == 1 %} 1 Ungluer has {% else %} {{ wishers }} Ungluers have {% endif %} wished for this Work {% endif %}{% endif %}
{% if request.user.is_anonymous %} {% else %}{% if request.user.id in work.last_campaign.supporters %}
Pledged!
{% else %}{% if work in request.user.wishlist.works.all %}
Remove This
{% else %}
Add to Wishlist
{% endif %}{% endif %}{% endif %} {% if work.first_ebook %} {% for ebook in work.ebooks %} {{ ebook.format }} {{ebook.rights}} at {{ebook.provider}}
{% endfor %}
{% endif %}
{% get_comment_count for work as comment_count %}


{% if status == 'ACTIVE' %}

A campaign is running to unglue {{work.title}}!

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 if ungluers can join together to raise ${{ work.last_campaign.target }} by {{ work.last_campaign.deadline }}. You can help!

{{ work.last_campaign.description|safe }} {% else %}

{{work.title}}

{{ work.longest_description|safe }} {% endif %}

{% render_comment_list for work %} {% if user.is_authenticated %} {% render_comment_form for work %} {% endif %}
{% for supporter in work.wished_by %} {% endfor %}
{% if status == 'ACTIVE' %}

Last campaign details

{{ work.last_campaign.details|safe }} {% endif %}

Rights Information

{% if work.claim.count %}

This work has been claimed by:

    {% for claim in work.claim.all %}
  • {{ claim.rights_holder.rights_holder_name }}
  • {% endfor %}
{% if request.user.rights_holder.all.count %} Should someone else should be authorized to run campaigns for this work? Select a rights holder:

{% csrf_token %} {{ claimform.user }} {{ claimform.work }} {{ claimform.rights_holder }}

{% endif %} Need to talk to us about claim status? Please email rights@gluejar.com. {% else %} {% if request.user.rights_holder.all.count %} Is this work yours? Claim it:

{% csrf_token %} {{ claimform.user }} {{ claimform.work }} {{ claimform.rights_holder }}

{% else %} Are you the rights holder for this work? Please email rights@gluejar.com. {% endif %} {% endif %} {% if work.subjects.all.count > 0 %}

Subjects

    {% for subject in work.subjects.all %}
  • {{ subject.name }}
  • {% endfor %}
{% endif %}

Editions

{% if alert %}
Ebook Contribution:
{{ alert }}
{% endif %} {% for edition in editions %}
{% if edition.ebook_form %}
more...
{% if edition.ebooks %}
eBooks for this Edition
{% for ebook in edition.ebooks.all %} {{ ebook.format }} {{ebook.rights}} at {{ebook.provider}}
{% endfor %} {% endif %}
Add an eBook for this Edition
If you know that this edition is available as a public domain or Creative Commons ebook, you can enter the link here and "unglue" it. Right now, we're only accepting URLs that point to Internet Archive, Wikisources, Hathitrust, Project Gutenberg, or Google Books.
{% csrf_token %}{{ edition.ebook_form.edition }}{{ edition.ebook_form.user }}{{ edition.ebook_form.provider }} URL: {{ edition.ebook_form.url }}
File Format: {{ edition.ebook_form.format }}    License: {{ edition.ebook_form.rights }}
{% endif %} {% endfor %}

Share

{% if status == 'ACTIVE' %} {% endif %}
{% endwith %} {% endblock %}