59 lines
3.8 KiB
HTML
59 lines
3.8 KiB
HTML
{% extends 'notification/notice_template.html' %}
|
|
|
|
{% 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 %}
|
|
{% ifequal transaction.host 'credit' %}
|
|
Your Unglue.it transaction has completed and ${{transaction.max_amount|floatformat:2|intcomma}} has been deducted from your Unglue.it credit balance.
|
|
You have ${{transaction.user.credit.available|default:"0"}} of credit left.
|
|
{% else %}
|
|
{% if transaction.max_amount > transaction.amount %}
|
|
Your transaction for ${{transaction.max_amount|floatformat:2|intcomma}} has completed.
|
|
Your credit card has been charged ${{transaction.amount}} and the
|
|
rest has been deducted from your unglue.it credit balance.
|
|
You have ${{transaction.user.credit.available|intcomma}} of credit left.
|
|
{% else %}
|
|
Your Unglue.it credit card transaction has completed and your credit card has been charged ${{ transaction.amount|floatformat:2|intcomma }}.
|
|
{% endif %}
|
|
{% endifequal %}
|
|
{% ifequal transaction.offer.license 1 %}{% if gift %}An email has been sent to <a href="mailto:{{ gift.acq.user.email }}">{{ gift.acq.user.email }}</a> with this message:
|
|
<pre>
|
|
{{ gift.message|linebreaksbr }}
|
|
</pre>
|
|
along with instructions for obtaining the ebook. Here's the URL that the recipient (and ONLY the recipient) should use to collect the book:
|
|
<pre>
|
|
https://{{ current_site.domain }}{% url 'receive_gift' gift.acq.nonce %}
|
|
</pre>
|
|
You can send the url yourself if there's been any problem with the email.
|
|
|
|
{% else %}
|
|
If you have not already done so, download your ebook at <a href="{% url 'download' transaction.campaign.work.id %}">the book's download page.</a>
|
|
{% endif %}{% endifequal %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block comments_textual %}
|
|
{% ifequal transaction.campaign.type 2 %}
|
|
<p>Thanks to you and other ungluers, <i>{{ transaction.campaign.work.title }}</i> will be eventually be released to the world in an unglued ebook edition. Thanks to your purchase, the ungluing date advanced {{ transaction.offer.days_per_copy|floatformat }}{% ifnotequal transaction.extra.copies 1 %} x {{ transaction.extra.copies }}{% endifnotequal %} days to {{ transaction.campaign.cc_date }}.</p>
|
|
|
|
{% ifequal transaction.offer.license 1 %}{% if not gift %}
|
|
<p>This ebook is licensed to you personally, and your personal license has been embedded in the ebook file. You may download as many times as you need to, but you can't make copies for the use of others until the ungluing date. You can make that date come sooner by encouraging your friends to buy a copy.</p>
|
|
{% endif %}{% else %}
|
|
<p>This ebook {% ifnotequal transaction.extra.copies 1 %}({{ transaction.extra.copies }} copies){% endifnotequal %} is licensed to your library and its license has been embedded in the ebook file. If you'd like to be the first to use it, please <a href="{% url 'borrow' transaction.campaign.work.id %}">get your copy now</a>. After an hour, the ebook will be available to all of your library's users on a one-user-per two weeks basis until the ungluing date, when it will be free to all. You can make that date come sooner by encouraging your friends to buy a copy.</p>
|
|
{% endifequal %}
|
|
{% endifequal %}
|
|
{% ifequal transaction.campaign.type 3 %}
|
|
<p>The creators of <i>{{ transaction.campaign.work.title }}</i> would like to thank you for showing your appreciation for making it free.
|
|
</p>
|
|
{% endifequal %}
|
|
<p>For more information about the book, visit the <a href="{% url 'work' transaction.campaign.work.id %}">book's unglue.it page</a>.
|
|
</p>
|
|
<p>Thank you again for your support.
|
|
</p>
|
|
<p>{{ transaction.campaign.rightsholder }} and the Unglue.it team
|
|
</p>
|
|
{% endblock %} |