{% comment %} status of book vis-a-vis user's wishlist. Non-logged-in users should see login to add option. Logged-in users, book on wishlist: If they've pledged, that should be displayed, with no removal option. If they're on their supporter page, they should have the option to remove it (except when pledged). Elsewhere, they should see that it's on their wishlist. Everyone else should have add-to-wishlist option. (Needed ID for wishlist.js varies on search & supporter page.) {% endcomment %} {% if request.user.is_anonymous %}
Login to Fave
{% elif request.user.id in supporters %}
Pledged!
{% elif supporter == request.user %} {% if wishlist %}
Un-Fave
{% else %} {% comment %} on the empty-wishlist slideshow {% endcomment %}
Add to Faves
{% endif %} {% elif work in wishlist %}
A Fave!
{% else %}
{% if on_search_page %} Add to Faves {% else %} Add to Faves {% endif %}
{% endif %}