action on booklist for active campaigns on wishlist should be pledge, not un-wishlist

pull/1/head
Andromeda Yelton 2013-01-03 16:33:07 -05:00
parent 79b594e6ce
commit 38b436f647
1 changed files with 9 additions and 3 deletions

View File

@ -129,9 +129,15 @@
<span>Pledged!</span>
</div>
{% else %}{% ifequal supporter request.user %}
<div class="listview panelfront side1 remove-wishlist">
<span id="l{{ workid }}">Un-wishlist</span>
</div>
{% ifequal status "ACTIVE" %}
<div class="listview panelfront side1 pledge">
<span class="booklist_pledge"><a href="{% url pledge work_id=workid %}" class="fakeinput">Pledge</a></span>
</div>
{% else %}
<div class="listview panelfront side1 remove-wishlist">
<span id="l{{ workid }}">Un-wishlist</span>
</div>
{% endifequal %}
{% else %}{% if work in wishlist %}
<div class="listview panelfront side1 on-wishlist">
<span>On Wishlist!</span>