regluit/frontend/templates/notification/pledge_status_change/notice.html

42 lines
2.0 KiB
HTML

{% extends 'notification/notice_template.html' %}
{% load url from future %}
{% load humanize %}
{% block comments_book %}
<a href="{% url 'work' transaction.campaign.work.id %}"><img src="{{ transaction.campaign.work.cover_image_small }}" alt="cover image for {{ transaction.campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
Your pledge for the campaign to unglue {{ transaction.campaign.work.title }} has been {% if up_or_down == 'canceled'%}canceled{% else %}modified{% endif %}.
{% endblock %}
{% block comments_textual %}
{% if up_or_down == 'canceled' %}
Your canceled pledge was as follows:<br />
Amount: ${{ transaction.amount|floatformat:2|intcomma }}<br />
Premium: {% if transaction.premium %}{{ transaction.premium.description }}{% else %}None requested{% endif %}<br />
{% else %}
Your new pledge is as follows:<br />
Amount: ${{ transaction.amount|floatformat:2|intcomma }}<br />
Premium: {% if transaction.premium %}{{ transaction.premium.description }}{% else %}None requested{% endif %}<br /><br />
Acknowledgements: <ul>
<li>The unglued ebook will be delivered to your inbox.</li>
{% if not transaction.anonymous %}
{% ifequal transaction.tier 1 %}
<li>You will be listed as a Supporter using the name "<i>{{ transaction.extra.ack_name }}</i>".</li>
{% endifequal %}
{% ifequal transaction.tier 2 %}
<li>You will be listed as a Benefactor using the name "<i>{{ transaction.extra.ack_name }}</i>" with a link to your Unglue.it supporter page.</li>
{% endifequal %}
{% ifequal transaction.tier 3 %}
<li>You will be listed as a Bibliophile using the name "<i>{{ transaction.extra.ack_name }}</i>" with a link to your Unglue.it supporter page.</li>
{% endifequal %}
{% endif %}
{% if transaction.extra.ack_dedication %}
<li>The following dedication will be included: <i>{{ transaction.extra.ack_dedication }}</i>.</li>
{% endif %}</ul>
Thank you for your continued support of {{ transaction.campaign.work.title }}.
{% endif %}
{% endblock %}