if showing in slideshow on empty supporter wishlist, now offers add-to-wishlist rather than remove-this

pull/1/head
Andromeda Yelton 2012-03-19 15:32:33 -04:00
parent 0460f4780d
commit 5e5e966651
1 changed files with 6 additions and 1 deletions

View File

@ -54,6 +54,11 @@
</div> </div>
{% comment %}status of book vis-a-vis user's wishlist{% endcomment %} {% comment %}status of book vis-a-vis user's wishlist{% endcomment %}
{% if works %}
<div class="moreinfo add-wishlist">
<span id="p{{ googlebooks_id }}">Add&nbsp;to&nbsp;Wishlist</span>
</div>
{% else %}
{% if request.user.id in supporters %} {% if request.user.id in supporters %}
<div class="moreinfo on-wishlist"> <div class="moreinfo on-wishlist">
<span>Pledged!</span> <span>Pledged!</span>
@ -75,7 +80,7 @@
<div class="moreinfo add-wishlist"> <div class="moreinfo add-wishlist">
<span id="p{{ googlebooks_id }}">Add&nbsp;to&nbsp;Wishlist</span> <span id="p{{ googlebooks_id }}">Add&nbsp;to&nbsp;Wishlist</span>
</div> </div>
{% endif %}{% endif %}{% endifequal %}{% endif %} {% endif %}{% endif %}{% endifequal %}{% endif %}{% endif %}
{% comment %}bibliographic data{% endcomment %} {% comment %}bibliographic data{% endcomment %}
<div class="white_text"> <div class="white_text">