commit
3a7cc09ebf
|
@ -98,6 +98,9 @@
|
||||||
</li>
|
</li>
|
||||||
<li><a href="{% url supporter user %}#edit" id="profile_edit"><span>Profile Settings</span></a></li>
|
<li><a href="{% url supporter user %}#edit" id="profile_edit"><span>Profile Settings</span></a></li>
|
||||||
<li><a href="{% url manage_account %}"><span>Account & Pledges</span></a></li>
|
<li><a href="{% url manage_account %}"><span>Account & Pledges</span></a></li>
|
||||||
|
{% if user.rights_holder.all %}
|
||||||
|
<li><a href="{{ rhtoolsurl }}">Rights Holder Tools</a></li>
|
||||||
|
{% endif %}
|
||||||
<li><a href="{% url auth_logout %}"><span>Sign Out</span></a></li>
|
<li><a href="{% url auth_logout %}"><span>Sign Out</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -663,6 +663,7 @@ def manage_campaign(request, id, action='manage'):
|
||||||
form= getManageCampaignForm(instance=campaign, data=request.POST)
|
form= getManageCampaignForm(instance=campaign, data=request.POST)
|
||||||
if form.is_valid():
|
if form.is_valid():
|
||||||
form.save()
|
form.save()
|
||||||
|
campaign.dollar_per_day = None
|
||||||
campaign.set_dollar_per_day()
|
campaign.set_dollar_per_day()
|
||||||
if campaign.type in {BUY2UNGLUE,THANKS} :
|
if campaign.type in {BUY2UNGLUE,THANKS} :
|
||||||
offers= campaign.work.create_offers()
|
offers= campaign.work.create_offers()
|
||||||
|
@ -2153,8 +2154,9 @@ class FAQView(FormView):
|
||||||
def form_valid(self, form):
|
def form_valid(self, form):
|
||||||
form.instance._current_total=form.cleaned_data['revenue']
|
form.instance._current_total=form.cleaned_data['revenue']
|
||||||
form.instance.status='DEMO'
|
form.instance.status='DEMO'
|
||||||
form.instance.update_left()
|
form.instance.type=BUY2UNGLUE
|
||||||
form.instance.set_dollar_per_day()
|
form.instance.set_dollar_per_day()
|
||||||
|
form.instance.update_left()
|
||||||
return self.render_to_response(self.get_context_data(form=form))
|
return self.render_to_response(self.get_context_data(form=form))
|
||||||
|
|
||||||
def get_initial(self):
|
def get_initial(self):
|
||||||
|
|
Loading…
Reference in New Issue