2011-11-21 03:23:51 +00:00
{% extends "basedocumentation.html" %}
{% block title %}Campaign Management{% endblock %}
2012-04-09 14:11:06 +00:00
{% block extra_extra_head %}
2012-04-16 19:28:06 +00:00
< style type = "text/css" >
textarea {
width: 90%;
}
< / style >
2012-04-09 14:11:06 +00:00
< 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 >
{% endblock %}
2011-11-21 03:23:51 +00:00
{% block doccontent %}
2011-11-22 05:28:06 +00:00
{% if campaign.not_manager %}
< h2 > You're not a manager for campaign: {{ campaign.name }}< / h2 >
2011-11-21 03:23:51 +00:00
{% else %}
2011-11-22 05:28:06 +00:00
{% for alert in alerts %}
< h1 class = "alert" > {{ alert }}< / h1 >
{% empty %}
2012-04-09 14:11:06 +00:00
< h1 > Manage the campaign< / h1 >
2011-11-22 05:28:06 +00:00
{% endfor %}
2011-11-28 16:38:31 +00:00
{% for problem in problems %}
Please fix the following before launching your campaign:
< br / > < br / >
< ul class = "errorlist" >
< li > {{ problem }}< / li >
< / ul >
{% empty %}
{% endfor %}
2012-04-13 19:29:46 +00:00
Or, < a href = "{% url rightsholders %}" > go back< / a > to rights holder tools page.< br / >
2011-11-21 03:23:51 +00:00
< h2 > The work< / h2 >
< div class = "book-detail-info" >
2011-11-22 22:27:41 +00:00
< h2 class = "book-name" > Title: < a href = "{% url work campaign.work.id %}" > {{ campaign.work.title }}< / a > < / h2 >
2011-11-21 03:23:51 +00:00
< h3 class = "book-author" > Authors: {{ campaign.work.author }}< / h3 >
2012-01-17 04:28:34 +00:00
< h3 class = "book-year" > Published: {{ campaign.work.publication_date }}< / h3 >
2012-05-01 14:56:19 +00:00
< h3 class = "book-author" > Language: {{ campaign.work.language }}< / h3 >
2012-04-09 14:11:06 +00:00
< p > Target Price: ${{ campaign.target }}< / p >
< p > End Date: {{ campaign.deadline|date:"M d, Y" }}< / p >
2011-11-22 22:27:41 +00:00
< p > Campaign status: {{ campaign.status }}< / p >
2011-11-21 03:23:51 +00:00
< / div >
2012-04-10 20:13:21 +00:00
< div >
< a href = "{% url work_preview campaign.work.id %}" class = "manage" > Preview This Campaign< / a >
< / div >
2012-04-17 18:30:38 +00:00
< h3 > Description of the work offered for ungluing< / h3 >
2011-11-21 03:23:51 +00:00
< form action = "#" method = "POST" >
{% csrf_token %}
2012-05-01 14:56:19 +00:00
< p > Please choose the edition that most closely matches the edition to be unglued:
{{ form.edition.errors }}{{ form.edition }}
2011-11-28 16:38:31 +00:00
< p > This will be displayed in the Campaign tab for your work. It's your main pitch to supporters. It should include:< / p >
2012-03-23 15:13:11 +00:00
< ul class = "terms" >
2011-11-21 03:23:51 +00:00
< li > A synopsis of the work.< / li >
2012-04-17 18:30:38 +00:00
< li > Hyperlinks for the author(s), publisher making the offer, or for the work itself. < span class = "rh_help" id = "helpHyperlink" > (How do I hyperlink?)< / span >
2012-04-09 14:11:06 +00:00
< div class = "rh_answer" id = "helpHyperlink2" >
< p > Format a hyperlink like this:< / p >
< p > < a href="http://your_link_here"> your link title here< /a> < / p >
< p > For example:< / p >
< p > < a href="http://www.archive.org"> the Internet Archive< /a> < / p >
< p > will display as < a href = "http://www.archive.org" > the Internet Archive< / a > .< / p >
< p > Copy-paste the code above and substitute your own values. You will find the link address in the location bar of your browser.< / p >
2012-04-17 18:30:38 +00:00
< / div > < / li >
2012-04-24 16:54:05 +00:00
< li > Anything especially appealing about the work or author: awards, embedded video (445px max), etc. < span class = "rh_help" id = "helpEmbed" > (How do I embed video?)< / span >
2012-04-09 14:11:06 +00:00
< div id = "helpEmbed2" class = "rh_answer" >
2012-04-13 19:29:46 +00:00
< p > To embed a video from YouTube:< / p >
< p > Go to the page where you watch the video. Under the video, click "Share".< / p >
< p > A new set of options will open up. Click the "Embed" button.< / p >
< p > This will generate some code for you to copy/paste into the box below. It will look something like this:< / p >
< p > < iframe width="444" height="301" src="< span style = "color:red" > http:< / span > //www.youtube-nocookie.com/embed/adeDb0BRMZY?rel=0" frameborder="0" allowfullscreen> < /iframe> < / p >
< p > Copy/paste that text into the box below. Delete the part that says "http:" (shown in red in the example). You're done! We'll figure out the details.< / p >
< p > Of course, if you want to include other text in addition to video, you can do that.< / p >
< p > If you'd like to change the size of the video, feel free; just don't make it more than 445px wide. Leaving it the default size is fine, too.< / p >
< p > If you'd like to embed a video from another source, please talk to us. You certainly can; we just want to make sure we've given you the right instructions.< / p >
2012-04-17 18:30:38 +00:00
< / div > < / li >
< / ul >
2012-04-13 19:29:46 +00:00
< p > Make it concise and emotionally appealing. The point here is not to tell ungluers everything about your book; it's to remind them why they love it.< / p >
2012-04-16 18:18:04 +00:00
{{ form.description.errors }}{{ form.description }}
2012-04-17 18:30:38 +00:00
< h3 > Offer details< / h3 >
2012-04-24 16:54:05 +00:00
< p > This will be displayed on the Details tab for your work. It's the fine print for your offer. For example, if your unglued edition will exclude certain illustrations due to rights issues, or otherwise differ from existing editions, this is the place to disclose that. If your offer doesn't have any fine print, you can leave this blank.< / p >
2012-04-16 18:18:04 +00:00
{{ form.details.errors }}{{ form.details }}
2012-04-17 18:30:38 +00:00
< h3 > Target Price< / h3 >
2011-11-21 03:23:51 +00:00
< p > This is the target price for your campaign. Once you launch the campaign, you won't be able to increase it.< / p >
2012-04-16 18:18:04 +00:00
{{ form.target.errors }}{{ form.target }}
2012-04-17 18:30:38 +00:00
< h3 > License being offered< / h3 >
2012-04-24 16:54:05 +00:00
< p > This is the license you are offering to use once the campaign succeeds. For more info on the licenses you can use, see < a href = "http://creativecommons.org/licenses" > Creative Commons: About the Licenses< / a > .< / p >
2012-04-16 18:18:04 +00:00
{{ form.license.errors }}{{ form.license }}
2012-04-17 18:30:38 +00:00
< h3 > Ending date< / h3 >
2011-11-21 03:23:51 +00:00
< p > This is the ending date of your campaign. Once you launch the campaign, you won't be able to change it.
The ending date can't be more than six months away- that's a practical limit for credit card authorizations.< / p >
2011-11-22 05:28:06 +00:00
2012-04-16 18:18:04 +00:00
{{ form.deadline.errors }}{{ form.deadline }}
2011-11-22 05:28:06 +00:00
2012-04-17 18:30:38 +00:00
< h3 > Paypal collection address< / h3 >
2011-11-21 20:49:29 +00:00
< p > If your campaign succeeds, the funds raised (less commission and fees) will be deposited in a paypal account bearing this email address.< / p >
2012-04-17 18:30:38 +00:00
< p > {{ form.paypal_receiver.errors }}{{ form.paypal_receiver }}< / p >
2011-11-21 03:23:51 +00:00
2012-05-01 14:02:07 +00:00
< p > We recommend that you save and then preview your campaign before launch. If it doesn't look exactly the way you like, we're happy to help; please email unglue.it support (< a href = "mailto:support@gluejar.com" > support@gluejar.com< / a > ).< / p >
2012-04-24 16:54:05 +00:00
2012-04-09 14:11:06 +00:00
{% ifequal campaign.status 'ACTIVE' %}
< input type = "submit" name = "save" value = "Modify Campaign" / >
{% else %}
2011-11-21 03:23:51 +00:00
< input type = "submit" name = "save" value = "Save Campaign" / >
2012-04-09 14:11:06 +00:00
{% endifequal %}
2012-04-06 17:05:31 +00:00
{% ifequal campaign.status 'INITIALIZED' %}
2011-11-21 03:23:51 +00:00
< input type = "submit" name = "launch" value = "Launch Campaign" / >
2012-04-05 21:23:25 +00:00
{% endifequal %}
2011-11-21 03:23:51 +00:00
< / form >
2012-03-26 19:31:41 +00:00
< 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{% else %}{% if forloop.last %}last{% endif %}{% endif %}" >
< a href = "{% url pledge work_id=campaign.work.id %}?premium_id={{premium.id}}" >
< span class = "menu-item-price" > ${{ premium.amount }}< / span >
< span class = "menu-item-desc" > {{ premium.description }}< / span >
< / a >
{% if premium.type %}< span class = "custom-premium" > < br / > Type: {{ premium.get_type_display }}< / span > {% endif %}
{% ifnotequal premium.limit 0 %}< br / > Limit: {{ premium.limit }}{% endifnotequal %}
{% ifequal premium.type 'CU' %}< br / > Deactivate? < input type = "checkbox" name = "premium_id" value = "{{ premium.id }}" / > {% endifequal %}
< / li >
{% endfor %}
< / ul >
2012-04-06 02:44:45 +00:00
{% if campaign.custom_premiums.count %}
2012-03-26 19:31:41 +00:00
< input type = "submit" name = "inactivate" value = "Inactivate Checked Premiums" / >
2012-04-06 02:44:45 +00:00
{% endif %}
2012-03-26 19:31:41 +00:00
< / form >
< / div >
< h4 > Add a custom premium for this campaign< / h4 >
< form action = "#" method = "POST" >
{% csrf_token %}
2012-04-16 18:18:04 +00:00
Pledge Amount: {{ premium_form.amount.errors }}{{ premium_form.amount }}< br / >
Premium Description: {{ premium_form.description.errors }}{{ premium_form.description }}< br / >
Number Available (0 if no limit): {{ premium_form.limit.errors }}{{ premium_form.limit }}< br / >
2012-03-26 19:31:41 +00:00
{{ premium_form.campaign }}
2012-04-16 18:18:04 +00:00
{{ premium_form.type.errors }}{{ premium_form.type }}
2012-03-26 19:31:41 +00:00
< br / >
< input type = "submit" name = "add_premium" value = "Add Premium" / >
< / form >
2011-11-21 03:23:51 +00:00
{% endif %}
{% endblock %}