get manage campaign to work a second time

pull/1/head
eric 2013-07-01 03:20:58 -04:00
parent 7eeb114d03
commit c88e002ccb
2 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class PremiumAdmin(ModelAdmin):
class CampaignAdmin(ModelAdmin): class CampaignAdmin(ModelAdmin):
list_display = ('work', 'created', 'status') list_display = ('work', 'created', 'status')
date_hierarchy = 'created' date_hierarchy = 'created'
exclude = ('edition', 'work', 'managers', 'publisher') exclude = ('edition', 'work', 'managers', 'publisher', 'activated')
search_fields = ['work'] search_fields = ['work']
class WorkAdmin(ModelAdmin): class WorkAdmin(ModelAdmin):

View File

@ -57,6 +57,7 @@ Please fix the following before launching your campaign:
<li>{{ problem }}</li> <li>{{ problem }}</li>
</ul> </ul>
{% empty %} {% empty %}
<!--{{form.errors}}-->
{% endfor %} {% endfor %}
(Or, <a href="{% url rightsholders %}">go back</a> to rights holder tools page.)<br /> (Or, <a href="{% url rightsholders %}">go back</a> to rights holder tools page.)<br />
@ -269,6 +270,7 @@ Please fix the following before launching your campaign:
{{ form.license.errors }}<span>{{ form.license }}</span> {{ form.license.errors }}<span>{{ form.license }}</span>
{% ifequal campaign.type 2 %} {% ifequal campaign.type 2 %}
<input type='hidden' id='type' name='type' value='2' /> <input type='hidden' id='type' name='type' value='2' />
<div style="display:none">{{ form.deadline }}</div>
{% else %} {% else %}
<h3>Ending date</h3> <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> <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>