{% load humanize %} {% with work.first_ebook as first_ebook %} {% with work.last_campaign.supporters as supporters %} {% with work.cover_image_thumbnail as thumbnail %} {% with work.author as author %} {% with work.last_campaign as last_campaign %} {% with work.last_campaign.status as status %} {% with work.last_campaign.deadline as deadline %} {% with work.id as workid %}
On: {{ deadline|date:"M d, Y" }}
Raised: {{ work.last_campaign.current_total|floatformat:0|intcomma }}
{% if first_ebook %} {% else %} {% endif %} {% else %}{% if status == 'ACTIVE' %} UNGLUE IT!${{ work.last_campaign.current_total|floatformat:0|intcomma }} raised
${{ work.last_campaign.target|floatformat:0|intcomma }} needed
by {{ deadline|date:"M d, Y" }}
{% else %}{% if status == 'INITIALIZED' %}Campaign coming soon!
{% else %}{% if status == 'SUSPENDED' %}This campaign has been suspended.
See the FAQ for details.
{% else %}{% if status == 'WITHDRAWN' %}This campaign has been withdrawn.
See the FAQ for details.
{% else %}{% if status == 'UNSUCCESSFUL' %}{{ deadline }}
Watch for a new campaign.
{% else %} {% if first_ebook %} AVAILABLE! {% else %}No campaign yet.
But if lots of ungluers wishlist this book, maybe there will be!
{% endif %} {% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{{ author }}