2011-11-21 03:23:51 +00:00
{% extends "basedocumentation.html" %}
{% block title %}Campaign Management{% endblock %}
{% 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 %}
2011-11-21 03:23:51 +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 %}
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 >
2011-11-21 03:23:51 +00:00
< h3 class = "book-author" > Language: {{ campaign.work.editions.all.0.language }}< / h3 >
2011-11-22 05:28:06 +00:00
< p > Target Price: {{ campaign.pretarget }}< / p >
< p > End Date: {{ campaign.predeadline }}< / p >
2011-11-22 22:27:41 +00:00
< p > Campaign status: {{ campaign.status }}< / p >
2011-11-21 03:23:51 +00:00
< / div >
2011-11-22 05:28:06 +00:00
2012-04-07 18:59:25 +00:00
< h3 > Description of the work offered for ungluing< / h2 >
2011-11-21 03:23:51 +00:00
< form action = "#" method = "POST" >
{% csrf_token %}
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 >
< li > Hyperlinks for the author(s), publisher making the offer, or for the work itself.< / li >
2011-11-28 16:38:31 +00:00
< li > Anything especially appealing about the work or author: awards, embedded video (460px max), etc.< / li >
2011-11-21 03:23:51 +00:00
< / ul >
{{ form.description }}{{ form.description.errors }}
< h3 > Offer details< / h2 >
2011-11-28 16:38:31 +00:00
< p > This will be displayed on the Details tab for your work. It gives additional information for the highly curious. It should include:< / p >
2012-03-23 15:13:11 +00:00
< ul class = "terms" >
2011-11-21 03:23:51 +00:00
< li > Details about the edition being offered.< / li >
< li > Hyperlinks for the author(s), publisher making the offer, or for the work itself.< / li >
< / uL >
{{ form.details }}{{ form.details.errors }}
< h3 > Target Price< / h2 >
< p > This is the target price for your campaign. Once you launch the campaign, you won't be able to increase it.< / p >
{{ form.target }}{{ form.target.errors }}
2012-03-23 16:30:49 +00:00
< h3 > License being offered< / h2 >
< 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/" > Creative Commons< / a > < / p >
{{ form.license }}{{ form.license.errors }}
2011-11-21 03:23:51 +00:00
< h3 > Ending date< / h2 >
< 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
2011-11-21 03:23:51 +00:00
{{ form.deadline }}{{ form.deadline.errors }}
2011-11-22 05:28:06 +00:00
2011-11-21 03:23:51 +00:00
< h3 > Paypal collection address< / h2 >
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 >
2011-11-21 03:23:51 +00:00
{{ form.paypal_receiver }}{{ form.paypal_receiver.errors }}
2011-11-21 20:49:29 +00:00
< p > To save your work, or to launch the campaign, click a button below.< / p >
2011-11-21 03:23:51 +00:00
< input type = "submit" name = "save" value = "Save Campaign" / >
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 %}
Pledge Amount: {{ premium_form.amount }}{{ premium_form.amount.errors }}< br / >
Premium Description: {{ premium_form.description }}{{ premium_form.description.errors }}< br / >
Number Available (0 if no limit): {{ premium_form.limit }}{{ premium_form.limit.errors }}< br / >
{{ premium_form.campaign }}
{{ premium_form.type }}{{ premium_form.type.errors }}
< br / >
< input type = "submit" name = "add_premium" value = "Add Premium" / >
< / form >
2011-11-21 03:23:51 +00:00
{% endif %}
{% endblock %}