regluit/frontend/templates/manage_campaign.html

527 lines
31 KiB
HTML

{% extends 'basedocumentation.html' %}
{% load humanize %}
{% block title %}Campaign Management{% endblock %}
{% block extra_extra_head %}
{{ block.super }}
<style type="text/css">
textarea {
width: 90%;
}
</style>
<link type="text/css" rel="stylesheet" href="/static/css/manage_campaign.css" />
<link type="text/css" rel="stylesheet" href="/static/css/campaign2.css" />
<script type="text/javascript" src="/static/js/tabs.js"></script>
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j('span.rh_help').click(
function() {
var questionID = $j(this).attr('id');
var answerID = "#"+questionID+"2";
$j(answerID).toggle(300);
}
);
});
</script>
<script>
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j('#launchme').click(function() {
$j('#campaign_launcher').click();
});
});
</script>
{% endblock %}
{% block topsection %}
{% endblock %}
{% block doccontent %}
{% with campaign.status as campaign_status %}
{% if campaign.not_manager %}
<h2>You're not a manager for campaign: {{ campaign.name }}</h2>
{% else %}
<div id="locationhash">{{ activetab }}</div>
{% for alert in alerts %}
<h1 class="alert">{{ alert }}</h1>
{% empty %}
<h1>Manage the campaign</h1>
{% endfor %}
{% for problem in problems %}
Please fix the following before launching your campaign:
<br /><br />
<ul class="errorlist">
<li>{{ problem }}</li>
</ul>
{% empty %}
<!--{{form.errors}}-->
{% endfor %}
(Or, <a href="{% url 'rightsholders' %}">go back</a> to rights holder tools page.)<br />
<div style="height:15px;"></div>
<div class="book-detail">
<div id="book-detail-img" class="book-cover" >
<a href="#"><img src="{{ work.cover_image_thumbnail }}" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" /></a>
</div>
<div class="book-detail-info">
<div class="layout">
<h2 class="book-name">{{ work.title }}</h2>
<div>
<div class="pubinfo">
<h3 class="book-author">{{ work.authors_short }}</h3>
<h3 class="book-year">{{ work.publication_date }}</h3>
</div>
</div>
</div>
<div class="pledged-info">
<div class="pledged-group">
{% if work.last_campaign.type == 1 %}
{{ work.last_campaign.supporters_count }} Ungluers have pledged ${{ work.last_campaign.current_total|intcomma }}
{% else %}
Total revenue: ${{ work.last_campaign.current_total|intcomma }} from {{ work.last_campaign.supporters_count }} Ungluers and {{ work.last_campaign.anon_count }} others
{% endif %}
</div>
</div>
</div>
<div class="preview_campaign">
{% if campaign_status == 'INITIALIZED' %}
<a href="{% url 'work_preview' campaign.work_id %}" class="manage" target="_blank">Preview Your Campaign</a>
{% else %}
<a href="{% url 'work' campaign.work_id %}" class="manage" target="_blank">See Your Campaign</a>
{% endif %}
</div>
</div>
<div class="content-block-heading" id="tabs">
<ul class="tabs">
<li class="tabs1 {% if activetab == '1' %}active{% endif %}"><a href="#">Description</a></li>
<li class="tabs2 {% if activetab == '2' %}active{% endif %}"><a href="#">{% if campaign.type == 1 %}Premiums{% elif campaign.type == 2 %}Pricing{% elif campaign.type == 3 %}Amounts{% endif %}</a></li>
<li class="tabs3 {% if activetab == '3' %}active{% endif %}"><a href="#">{% if campaign_status == 'ACTIVE' or campaign_status == 'SUCCESSFUL' %}Progress{% else %}Launch{% endif %}</a></li>
</ul>
</div>
<div class="clearfix"></div>
<div class="tabs-1">
<form action="#" method="POST">
{% csrf_token %}
{{ form.media }}
<h3>Edit the editions (if needed)</h3>
{% if campaign.work.ebookfiles.0 %}
<p>You have uploaded ebook files for this work. </p>
{% else %}
{% if work.last_campaign.type == 2 %}
<p> To sell ebooks as part of a buy to unglue campaign, you will need to upload an EPUB file for the ebook you want to sell. </p>
{% elif work.last_campaign.type == 3 %}
<p> To distribute ebooks as part of a thanks for ungluing campaign, you will need to upload the ebook files to unglue.it. </p>
{% endif %}
{% endif %}
<p> Please choose the edition that most closely matches the edition to be unglued. This is the edition whose cover image will display on your book's page. Your unglued edition should be identical to this edition if possible; you should note any differences under Rights Details below.</p>
{{ form.edition.errors }}
{% for edition in campaign.work.editions.all %}
<div class="edition_form" id="edition_{{edition.id}}">
<p> Edition {{ edition.id }}: <input type="radio" {% if edition.id == form.edition.value %}checked="checked" {% endif %}id="id_edition_{{forloop.counter}}" value="{{edition.id}}" name="edition" /><label for="id_edition_{{forloop.counter}}"> Prefer this edition </label>
<ul style="text-indent:1em">
<li style="text-indent:2.5em"><a href="{% url 'new_edition' edition.work_id edition.id %}"> Edit </a> this edition</li>
{% if campaign.type != 1 %}
{% if edition.ebook_files.all.0 %}
<li style="text-indent:2.5em">You have uploaded ebook files for this edition. You can <a href="{% url 'edition_uploads' edition.id %}"> manage its ebooks or upload another</a></li>
{% else %}
<li style="text-indent:2.5em">You can <a href="{% url 'edition_uploads' edition.id %}"> Manage ebooks</a> for this edition.</li>
{% endif %}
{% endif %}
</ul>
</p>
{% with managing='True' %}{% include "edition_display.html" %}{% endwith %}
</div>
{% endfor %}
<p>If you don't see an edition that matches what you want to release, you can <a href="{% url 'rh_edition' work.id '' %}">create a new edition</a>.</p>
{% if campaign.work.ebookfiles.0 %}
<h3>All ebook files for this book</h3>
{% endif %}
{% if campaign.work.epubfiles.0 %}
{% for ebf in campaign.work.epubfiles %}
<p>{% if ebf.active %}<span class="yikes">ACTIVE</span> {% elif ebf.ebook.active %} MIRROR {% endif %}EPUB file: <a href="{{ebf.file.url}}">{{ebf.file}}</a> <br />created {{ebf.created}} for edition <a href="#edition_{{ebf.edition_id}}">{{ebf.edition_id}}</a> {% if ebf.asking %}(This file has had the campaign 'ask' added.){% endif %}<br />{% if ebf.active %}{% if action == 'mademobi' %}<span class="yikes">A MOBI file is being generated. </span> (Takes a minute or two.) {% else %}You can <a href="{% url 'makemobi' campaign.id ebf.id %}">generate a MOBI file.</a> {% endif %}{% endif %}</p>
{% endfor %}
{% if campaign.work.test_acqs.0 %}
<ul>
<li><a href="{{campaign.work.test_acqs.0.watermarked.download_link_epub}}">Processed epub for testing</a></li>
<li><a href="{{campaign.work.test_acqs.0.watermarked.download_link_mobi}}">Processed mobi (kindle) for testing</a></li>
</ul>
{% endif %}
{% endif %}
{% if campaign.work.mobifiles.0 %}
{% for ebf in campaign.work.mobifiles %}
<p>{% if ebf.active %}<span class="yikes">ACTIVE</span> {% endif %}MOBI file: <a href="{{ebf.file.url}}">{{ebf.file}}</a> <br />created {{ebf.created}} for edition <a href="#edition_{{ebf.edition_id}}">{{ebf.edition_id}}</a> {% if ebf.asking %}(This file has had the campaign 'ask' added.){% endif %}</p>
{% endfor %}
{% endif %}
{% if campaign.work.pdffiles.0 %}
{% for ebf in campaign.work.pdffiles %}
<p>{% if ebf.active %}<span class="yikes">ACTIVE</span> {% endif %}PDF file: <a href="{{ebf.file.url}}">{{ebf.file}}</a> <br />created {{ebf.created}} for edition <a href="#edition_{{ebf.edition_id}}">{{ebf.edition_id}}</a> {% if ebf.asking %}(This file has had the campaign 'ask' added.){% endif %}</p>
{% endfor %}
{% endif %}
{% if campaign_status != 'ACTIVE' %}
{% if campaign.type != 3 %}
<h3>License being offered</h3>
<p> This is the license you are offering to use once the campaign succeeds. For more information on the licenses you can use, see <a href="https://creativecommons.org/licenses">Creative Commons: About the Licenses</a>. Once your campaign is active, you'll be able to switch to a less restrictive license, but not a more restrictive one. We encourage you to pick the least restrictive license you are comfortable with, as this will increase the ways people can use your unglued ebook and motivate more people to donate.</p>
{% else %}
<h3>License Being Used</h3>
<p> This is the license you are using. For more information on the licenses you can use, see <a href="https://creativecommons.org/licenses">Creative Commons: About the Licenses</a>.
Once your campaign is active, you'll be able to switch to a less restrictive license, but not a more restrictive one.
We encourage you to pick the least restrictive license you are comfortable with, as this will increase the ways people can use your unglued ebook and motivate more people to participate.
</p>
{% endif %}
<div>
{{ form.license.errors }}{{ form.license }}
</div>
{% if campaign.type == 1 %}
<h3>Target Price</h3>
<p>This is the target price for your campaign. The <i>minimum</i> target is ${{form.minimum_target|intcomma}}.</p>
<p>Your target should be high enough to compensate you for potential lost future revenue from sales of this edition and reflect well on your brand, but low enough to seem realistic to supporters; people are more likely to back campaigns that they think will succeed.</p>
<p>Once you launch the campaign, you'll be able to decrease your target, but not increase it.</p>
<p>Please email us if you want to talk about pricing strategy.</p>
<div class="std_form">
{{ form.target.errors }}${{ form.target }}
</div>
<h3>Ending date</h3>
<p> This is the ending date of your campaign. Once you launch the campaign, you won't be able to change it.</p>
<p>The ending date can't be more than six months away- that's a practical limit for credit card authorizations. The <i>latest</i> ending you can choose <i>right now</i> is {{ campaign.latest_ending }}</p>
{{ form.deadline.errors }}{{ form.deadline }}
{% elif campaign.type == 2 %}
<h3>Revenue Goal</h3>
<p>This is the initial revenue goal for your campaign. Once the campaign starts, the actual revenue goal will decrement every day. When your actual revenue meets your actual revenue goal, your book gets released immediately, for free, under the Creative Commons License that you've specified. </p>
<p>The <i>minimum</i> revenue goal is ${{form.minimum_target|intcomma}}.The <i>maximum</i> revenue goal is ${{form.maximum_target|intcomma}}. Yep. </p>
<p>Your goal should be high enough to compensate you for potential lost future revenue from sales of this edition and reflect well on your brand, but low enough to seem realistic to supporters; people are more likely to back campaigns that they think will succeed. You can get a feel for the interplay between revenue goal and ungluing date with the <a href="{% url 'faq_sublocation' 'campaigns' 'b2u' %}#calculator">the ungluing date calculator</a></p>
<p>Once you launch the campaign, you'll be able to decrease your goal, but not increase it.</p>
<p>Please email us if you want to talk about pricing strategy.</p>
<div class="std_form">
{{ form.target.errors }}${{ form.target }}
</div>
<h3>Initial Ungluing Date</h3>
<p>When you launch a Buy-To-Unglue campaign, you will specify a date in the future at which your book will become Creative Commons Licensed. eBooks sold via unglue.it will include a notice of this license. With every sale, the effective date of this license will advance a bit toward the present. </p>
<p>Before launching a campaign, you'll need to select Your initial Ungluing Date. Together with your campaign revenue goal, this will define when your book becomes "unglued". Check out the <a href="{% url 'faq_sublocation' 'campaigns' 'b2u' %}#calculator">the ungluing date calculator</a> to see how this works. Your starting Ungluing Date must be before {{ form.max_cc_date }}</p>
{{ form.cc_date_initial.errors }}{{ form.cc_date_initial }}
<!--{{ form.deadline.errors }}-->
{% elif campaign.type == 3 %}
<!--{{ form.target.errors }}--><!--{{ form.cc_date_initial.errors }}--><!--{{ form.deadline.errors }}-->
{% endif %}
{% else %}
<h3>License being offered</h3>
{% if campaign.type != 3 %}
<p>If your campaign succeeds, you will be offering your ebook under a <b><a href="{{campaign.license_url }}">{{ campaign.license }}</a></b> license.</p>
{% else %}
<p>You are offering your ebook under a <b><a href="{{campaign.license_url }}">{{ campaign.license }}</a></b> license.</p>
{% endif %}
<p>Since your campaign is active, you may only change the license to remove restrictions. For more information on the licenses you can use, see <a href="https://creativecommons.org/licenses">Creative Commons: About the Licenses</a>.</p>
<div>
{{ form.license.errors }}<span>{{ form.license }}</span>
</div>
{% if campaign.type == 1 %}
<h3>Target Revenue</h3>
<p>The current target revenue for your campaign is <b>${{ campaign.target|intcomma }}</b>. Since your campaign is active, you may lower, but not raise, this target. You can get a feel for the interplay between revenue target and ungluing date with the <a href="{% url 'faq_sublocation' 'campaigns' 'b2u' %}#calculator">the ungluing date calculator</a></p>
<div class="std_form">
${{ form.target.errors }}{{ form.target }}
</div>
{% elif campaign.type == 2 %}
<h3>Initial Revenue Goal</h3>
<p>The initial revenue goal for your campaign was <b>${{ campaign.target|intcomma }}</b>; the current amount remaining is <b>${{ campaign.left|intcomma }}</b>. Since your campaign is active, you may lower, but not raise, this goal. Before you change this, try different parameters with <a href="{% url 'faq_sublocation' 'campaigns' 'b2u' %}#calculator">the ungluing date calculator</a>. </p>
<div class="std_form">
${{ form.target.errors }}{{ form.target }}
</div>
{% endif %}
{% if campaign.type == 1 %}
<h3>Ending date</h3>
<p>The ending date of your campaign is <b>{{ campaign.deadline }}</b>. Your campaign will conclude on this date or when you meet your target price, whichever is earlier. You may not change the ending date of an active campaign.</p>
<div class="std_form">
{{ form.deadline.errors }}<span style="display: none">{{ form.deadline }}</span>
</div>
{% elif campaign.type == 2 %}
<h3>Ungluing Date</h3>
<p> This campaign was launched with a Ungluing Date of {{ campaign.cc_date_initial }}.</p>
<p> Based on a total revenue of {{ campaign.current_total }} the Ungluing Date has been advanced to {{ campaign.cc_date }}.</p>
<div class="std_form">
{{ form.cc_date_initial.errors }}{{ form.cc_date_initial }}
</div>
<!--{{ form.deadline.errors }}-->
{% elif campaign.type == 3 %}
<!--{{ form.deadline.errors }}--><!--{{ form.cc_date_initial.errors }}-->
{% endif %}
{% endif %}
{% if campaign.type == 2 %}
<h3>Personalization</h3>
<p>If you do not want Unglue.it to use digital watermarking techniques to encode a transaction number into the ebook files, uncheck this box. Either way, ebook files will be personalized; the difference is whether personalization is easy or hard to remove.</p>
<div class="std_form">Use watermarking: {{ form.do_watermark }}</div>
{% endif %}{{ form.do_watermark.errors }}
<h3>Your Pitch</h3>
{% if campaign.type == 3 %}
<p>In a "thanks for ungluing" campaign, you want to first "motivate" your book- that is, you want to get the user to download the book.
Once the user has clicked a "Download" button or a "Read it Now" button, you have a chance for an "ask" - that's where a user can decide to also make a thank-you contribution.
The "ask" will be displayed to a user who has clicked a "Download" button. It's your chance to ask for their support.
The user can decide to make a contribution and go enter a credit card, or can scroll down to download.
To see your request in test mode, <a href="{% url 'download' campaign.work_id %}?testmode=1">click here</a>. </p>
<p>A strong ask/motivation combination:</p>
{% else %}
<p>This will be displayed in the Campaign tab for your work. It's your main pitch to supporters/purchasers, and your chance to share your passion for this work, and to inspire readers..</p>
<p>A strong ask:</p>
{% endif %}
<ul class="terms">
{% if campaign.type == 3 %}
<li>Thanks the user for their interest in the book.</li>
<li>Makes a connection to the user while explaining how a contribution makes your work possible.</li>
<li>Speaks visually to the user (photos and/or videos). The FAQ has <a href="{% url 'faq_sublocation' 'rightsholders' 'addingmedia' %}">instructions on adding media</a>.</li>
{% else %}
<li>Introduces the work. What's this book about?</li>
<li>Introduces you, the person or organization who will receive support. Who (or what) are you?</li>
<li>Says why it matters. How will someone or something -- the world, readers, some cause that matters -- be better off if this book becomes freely available? What will ungluers get out of supporting this campaign?</li>
{% if campaign.type == 1 %}<li>Motivates support. Are you offering any premiums you want to call people's attention to?</li>{% endif %}
<li>Gives a taste of the work. This could be links to more information about you or the book. You can also add quotes, embed a free sample chapter or story, display images, et cetera. These work samples might be from the campaign book itself, or from your (or the author's) other creative works.</li>
<li>Has visual appeal (photos and/or videos). The FAQ has <a href="{% url 'faq_sublocation' 'rightsholders' 'addingmedia' %}">instruction on adding media</a>.</li>
<li>Explains how the funds to be raised will be used.</li>
{% endif %}
</ul>
<br />
{% if campaign.type == 3 %}
<div style="padding-top:2em;padding-bottom:0.5em">First, the <b>Motivation</b>. Note that users who immediately click on a "Read it Now" button won't see this.:</div>
{{ form.work_description.errors }}{{ form.work_description }}
<div style="padding-top:2em;padding-bottom:0.5em">Next, the <b>Ask</b>. A "thank you" form will float right in this area, so don't use wide graphic elements.</div>
{% endif %}
{{ form.description.errors }}{{ form.description }}
{% if campaign.type == 3 %}
<h3>Enable "Thanks" in your ebook files</h3>
<p> Unglue.it can add your "Ask" along with a link to your book's "thank the creators" page into your ebook files. That way, people who download the book without making a contribution will be reminded that they can do it later.</p>
<div class="std_form">Add your ask to files: {{ form.use_add_ask.errors }}{{ form.use_add_ask }}</div>
{% endif %}
<h3>Edition and Rights Details</h3>
<p>This will be displayed on the More... tab for your work. It's the fine print for your campaign. {% if campaign.type == 1 %}Make sure to disclose any ways the unglued edition will differ from the existing edition; for example:
<ul class="bullets">
<li>Any material that may have to be excluded due to permissions issues: illustrations, forewords, etc.</li>
<li>Any additional materials that will be included, if not already covered in your pitch -- but we encourage you to cover them there to show supporters the value of ungluing!</li>
<li>If the cover image will differ.</li>
</ul>
{% else %}Make sure to disclose any licensing carve-outs, for example:</p>
<ul class="bullets">
<li>If the text is to be CC BY, but illustrations are only licensed as part of the ebook.</li>
</ul>
{% endif %}
<p>In short, is there a fact about this campaign that you think would matter to your agent or another publishing wonk, but that no one else is likely to care about? Put it here. If your campaign doesn't have any fine print, you can leave this blank.</p>
{{ form.details.errors }}{{ form.details }}
<h3>e-mail contact addresses</h3>
<p>Enter the email address where notifications about this campaign should be sent. If your campaign succeeds, this email needs to work if you want to get paid! This address will not be exposed on the website.</p>
<p class="std_form">{{ form.paypal_receiver.errors }}{{ form.paypal_receiver }}</p>
<p>(Optional, but highly recommended). Enter an email address where ungluers with questions about the book or the campaign can contact you or someone involved. This address will not be exposed on the website.</p>
<p class="std_form">{{ form.email.errors }}{{ form.email }}</p>
{% if work.publishers %}
<h3>Publisher</h3>
<p>If you are set up as an unglue.it publisher (send us a url, logo, description and list of ways your name might appear) you can link your campaign by selecting the publisher here:
<p class="std_form">{{ form.publisher.errors }}{{ form.publisher }}</p>
{% endif %}
{% if campaign_status == 'ACTIVE' %}
<div class="yikes">When you click this button, your changes will be visible to supporters immediately. Make sure to proofread!</div><br />
<input type="submit" name="save" value="Modify Campaign" />
{% else %}
<br /><br /><input type="submit" name="save" value="Save Campaign" />
{% endif %}
{% if not is_preview or request.user.is_staff %}
{% if campaign_status == 'INITIALIZED' %}
<input id="campaign_launcher" type="submit" name="launch" value="Launch Campaign" />
{% endif %}
{% endif %}
</form>
</div>
<div class="tabs-2">
{% if campaign.type == 1 %}
<h3>Premiums</h3>
<div class="jsmod-content">
<form action="#" method="POST">
{% csrf_token %}
<ul class="support menu">
{% for premium in premiums %}
<li class="{% if forloop.first %}first{% elif forloop.last %}last{% endif %}">
<i>
<span class="menu-item-price">${{ premium.amount|intcomma }}</span>
<span class="menu-item-desc">{{ premium.description }}</span>
</i>
{% if premium.limit != 0 %}<br />Limit: {{ premium.limit }}{% endif %}
{% if premium.type == 'CU' %}<br />Deactivate? <input type="checkbox" name="premium_id" value="{{ premium.id }}" />{% endif %}
</li>
{% endfor %}
</ul>
{% if campaign.custom_premiums.count %}
<input type="submit" name="inactivate" value="Deactivate Checked Premiums" />
{% endif %}
</form>
</div>
<h4>Add a premium for this campaign</h4>
<form action="#" method="POST" id="premium_add">
{% csrf_token %}
<span class="premium_add_label">Pledge Amount ($2000 maximum):</span> {{ premium_form.amount.errors }}<span class="premium_field_label">$</span>{{ premium_form.amount }}<br /><br />
<span class="premium_add_label">Premium Description:</span> {{ premium_form.description.errors }}{{ premium_form.description }}<br /><br />
<span class="premium_add_label">Number Available (0 if no limit):</span> {{ premium_form.limit.errors }}{{ premium_form.limit }}<br /><br />
{{ premium_form.campaign }}
{{ premium_form.type.errors }}{{ premium_form.type }}
<br />
<input type="submit" name="add_premium" value="Add Premium" />
</form><br /><br />
<h4>Editing premiums</h4>
<p>At this time, you can't edit a premium you've created. But you can deactivate a premium and add a new one to replace it. So be sure to double-check your spelling before adding it.</p>
<p>If you deactivate a premium that people have pledged toward, you are <b>still responsible for delivering it</b> to those pledgers.</p>
<p>A few things to keep in mind:</p>
<ul class="bullets">
<li>Are your premiums cumulative? That is, if you have a $10 and a $25 premium, does the $25 pledger get everything that the $10 pledger gets also? Either cumulative or not-cumulative is fine, but make sure you've communicated clearly</li>
<li>Adding new premiums during your campaign is a great way to build momentum. If you do, make sure to leave a comment in the Comments tab of your campaign page to tell supporters (it will be automatically emailed to them). Some of them may want to change (hopefully increase) their pledge to take advantage of it.</li>
<li>Also make sure to think about how your new premiums interact with old ones. If you add a new premium at $10, will people who have already pledged $25 be automatically eligible for it or not? Again, you can choose whatever you want; just be sure to communicate clearly.</li>
</ul>
<h4>Acknowledgements</h4>
<p>Your ungluers will also automatically receive the following acknowledgements:</p>
<ul class="terms">
<li><em>Any amount</em> &#8212; The unglued ebook</li>
<li><em>$25 and above</em> &#8212; Their name in the acknowledgements section under "supporters"</li>
<li><em>$50 and above</em> &#8212; Their name &amp; profile link under "benefactors"</li>
<li><em>$100 and above</em> &#8212; Their name, profile link, &amp; a dedication under "bibliophiles"</li>
</ul>
<p>Your premium values may be any amounts -- you do not need to offer premiums at $25/$50/$100. For example, if you offer a $30 premium, anyone pledging to it will be eligible for the $25 reward. This will be communicated to them during the pledging process; you do not need to explain it in your pitch.</p>
{% elif campaign.type == 2 %}
<h3> Offers to sell </h3>
{% if not campaign.work.ebookfiles.0 %}
<p> <b>An EPUB file for this work <a class="tabs1">needs to be loaded</a>!</b></p>
{% endif %}
<p> Enter a per/copy price for each license type. You may change these prices after the campaign has begun.</p>
<div class="jsmod-content">
{% for offer in offers %}
<form action="#" method="POST"><div>
{% csrf_token %}
<span class="std_form">{{ offer.get_license_display }}: ${{ offer.offer_form.price }}{{ offer.offer_form.price.errors }}
{{ offer.offer_form.active }}
{{ offer.offer_form.license }}
{{ offer.offer_form.work }}</span>
{% if offer.active %}
<input type="submit" name="change_offer" value="Change Price" />
{% else %}
<input type="submit" name="change_offer" value="Set Offer" /> <span class="yikes"><i>This offer is not active</a>
{% endif %}
</div></form>
<p />
{% endfor %}
</div>
{% elif campaign.type == 3 %}
<h3> Suggested Contributions </h3>
{% if not campaign.work.ebooks.0 %}
<p> <b>ebook files for this work <a class="tabs1">need to be loaded</a>!</b></p>
{% endif %}
<p> Enter a suggested per/copy contribution for each user type. You may change these numbers after the campaign has begun. Don't suggest contributions between $0.00 and $1.00, because these won't be processed. If you enter $0 for BOTH, then no contribution form will be displayed.</p>
<div class="jsmod-content">
{% for offer in offers %}
<form action="#" method="POST"><div>
{% csrf_token %}
<span class="std_form">{{ offer.get_license_display }}: ${{ offer.offer_form.price }}{{ offer.offer_form.price.errors }}
{{ offer.offer_form.active }}
{{ offer.offer_form.license }}
{{ offer.offer_form.work }}</span>
<input type="submit" name="change_offer" value="Change Suggested Contribution" />
</div></form>
<p />
{% endfor %}
<p>When a contribution>$1 is made by a library, the library's verified users on unglue.it are not asked to make another contribution.</p>
</div>
{% endif %}
</div>
{% if campaign_status == 'INITIALIZED' %}
<div class="tabs-3">
{% if campaign.launchable %}
<p>Before you hit launch:</p>
<ul class="bullets">
<li>Have you proofread your campaign? (Make sure to spellcheck!)</li>
<li>Have you <a href="{% url 'work_preview' campaign.work_id %}">previewed your campaign</a>? Does it look how you want it to?</li>
</ul>
<p>If it doesn't look exactly the way you like, or you're having any trouble with your description, we're happy to help; please <a href="{% url 'feedback' %}?page={{request.build_absolute_uri|urlencode:""}}">contact us</a>.</p>
<p>If you're happy with your campaign, here's your moment of truth!</p>
<div id="launchme"><a href="#" class="manage">Launch Campaign</a></div>
{% else %}
{% if campaign.type == 1 %}
<p>Please make sure you've selected your campaign's edition and entered its description, funding goal, deadline, premiums, and previewed your campaign, before launching.</p>
{% elif campaign.type == 2 %}
<p>Please make sure you've selected your campaign's edition and entered its description, funding goal, initial ungluing date, prices, and previewed your campaign, before launching.</p>
<p> Buy To Unglue campaigns can't be launched until ebook files <a class="tabs1">have been loaded</a> and <a class="tabs2">pricing has been set and made active</a></p>
{% elif campaign.type == 3 %}
<p>Please make sure you've selected your campaign's edition and entered its description and previewed your campaign, before launching.</p>
<p> Thanks for Ungluing campaigns can't be launched until ebook files <a class="tabs1">have been loaded</a> and <a class="tabs2">a suggested contribution has been set </a></p>
{% endif %}
{% endif %}
</div>
{% endif %}
<div class="tabs-3">
{% if campaign_status == 'ACTIVE' or campaign_status == 'SUCCESSFUL' %}
{% if campaign_status == 'ACTIVE' %}
<h2 class="thank-you">Your campaign is now active! Hooray!</h2>
<h3>What to do next</h3>
<ul class="bullets">
<li>Tell your friends, relatives, media contacts, professional organizations, social media networks -- everyone!</li>
{% if campaign.type == 1 %}
<li>Check in with your campaign frequently. Use comments, description updates, and maybe new premiums to spark additional interest, keep supporters engaged, and keep the momentum going.</li>
{% else %}
<li>Check in on your sales frequently. Remember, you control the per-copy pricing, so think about the promotional value of a temporary price reduction.</li>
{% endif %}
<li>Watch media and social networks for mentions of your campaign, and engage in those conversations.</li>
<li>Need help doing any of this? Talk to us.</li>
</ul>
{% endif %}
{% if campaign.type == 1 %}
<h3>Acknowledgements</h3>
<p>When you're logged in, the "Ungluers" tab on the <a href="{% url 'work' work.id %}">campaign page</a> will tell you a bit about each ungluer- when they last pledged, for example, and you can send individual messages to each ungluer. Use this tool with care! You can see who your biggest supporters are by looking at the <a href="{% url 'work_acks' campaign.work_id %}">sample acknowledgement page</a>.
After your campaign succeeds, you can used this page to generate epub code for the acknowledgements section of your unglued ebook.
</p>
{% else %}
{% comment %}This might be a good place to put a sales report. {% endcomment %}
{% endif %}
{% endif %}
</div>
{% endif %}
{% endwith %}
{% endblock %}