{% extends 'rh_tools.html' %} {% block toolcontent %} {% if request.user.rights_holder.count %}

Works You Have Claimed

{% for claim in claims %}
Title: {{claim.work.title }}   (work #{{ claim.work_id }})
Author: {{claim.work.authors_short }}
On Behalf of: {{ claim.rights_holder.rights_holder_name }}
Agreement #: {{ claim.rights_holder.id }}
Date of Claim : {{ claim.created }}
Status of Claim: {{ claim.get_status_display }} {% if claim.campaign_form %}

Initialize a campaign for this work

{% csrf_token %} {{ claim.campaign_form.name }}{{ claim.campaign_form.name.errors }} {% ifequal claim.can_open_new 1 %}

Choose the Campaign Type: {{ claim.campaign_form.type }}{{ claim.campaign_form.type.errors }}

  1. Pledge-To-Unglue: These campaigns have a fixed end date. When your pledges reach the target you set, the campaign succeeds and the ebook is released in an open-access unglued edition.
  2. Buy-To-Unglue: These campaigns start with a date on which the ebook will become open access. Each sale advances this "ungluing date" an increment based on you funding target.
  3. Thanks-For-Ungluing: These campaigns are for books that already have a Creative Commons license.
{% else %} Your previous campaign succeeded, but you can open a new Thanks-For-Ungluing campaign. {{ claim.campaign_form.type.errors }} {% endifequal %}

Add another Campaign Manager(s) by their Unglue.it username:

{{ claim.campaign_form.managers }}{{ claim.campaign_form.managers.errors }}

{{ claim.campaign_form.work }}{{ claim.campaign_form.work.errors }} {{ claim.campaign_form.userid }}{{ claim.campaign_form.userid.errors }}

{% elif claim.campaign %}

Campaign for this work

{% with claim.campaign as campaign %}
{% if campaign.status = 'ACTIVE' or campaign.status = 'INITIALIZED' %}
Your {{ campaign.get_type_display }}, "{{ campaign.name }}", is {{ campaign.status }}
Created: {{ campaign.created }}
Manager(s): {% for user in campaign.managers.all %} {{ user.username }} {% endfor %}
{% csrf_token %}
Add/Remove Managers: {{ campaign.edit_managers_form.managers }}{{ campaign.edit_managers_form.managers.errors }}
{% if request.user in campaign.managers.all %}
Manage This Campaign
{% endif %} {% else %}
Name: Your campaign, "{{ campaign.name }}", is {{ campaign.status }}
Created: {{ campaign.created }}
Manager(s): {% for user in campaign.managers.all %} {{ user.username }} {% endfor %}
{% ifequal campaign.type 1 %} ${{ campaign.current_total }} pledged of ${{ campaign.target }}, {{ campaign.supporters_count }} supporters {% else %} ${{ campaign.current_total }} sold. ${{ campaign.target }} to go, Ungluing Date: {{ campaign.cc_date }} {% endifequal %}
Transaction Details
{% endif %}
{% endwith %} {% else %}

When your claim is approved, you will be able to create a campaign.

{% endif %} {% if claim.work.first_ebook %}

Ebooks for this work

{{ claim.work.download_count }} total downloads

    {% for ebook in claim.work.ebooks_all %}
  • edition #{{ebook.edition_id}} {{ ebook.format }} {% if not ebook.active %}(inactive){% endif %} {{ ebook.download_count }} downloads
  • {% endfor %}
{% endif %}
{% empty %}
You have not claimed any works.
{% endfor %}
{% endif %} {% endblock %}