diff --git a/api/templates/widget.html b/api/templates/widget.html index 1bb7e5f1..8f1cd72f 100644 --- a/api/templates/widget.html +++ b/api/templates/widget.html @@ -35,10 +35,8 @@ {% if work %} {% with work.googlebooks_id as googlebooks_id %} - {% with work.last_campaign.status as status %} {% include "book_panel.html" %} {% endwith %} -{% endwith %} {% else %}

No work corresponding to ISBN {{isbn}} available

{% endif %} diff --git a/frontend/templates/campaign_list.html b/frontend/templates/campaign_list.html index 711b02f8..a1e50e45 100644 --- a/frontend/templates/campaign_list.html +++ b/frontend/templates/campaign_list.html @@ -83,12 +83,10 @@ location.hash = "#2"; {% for campaign in campaign_list %}
- {% with campaign.status as status %} - {% with campaign.deadline as deadline %} {% with campaign.work.googlebooks_id as googlebooks_id %} {% with campaign.work as work %} {% include "book_panel.html" %} - {% endwith %}{% endwith %}{% endwith %}{% endwith %} + {% endwith %}{% endwith %}
{% endfor %}