fixing more syntax after testing

pull/1/head
Andromeda Yelton 2012-07-16 13:29:20 -04:00
parent f56b342b00
commit f000c01267
7 changed files with 23 additions and 26 deletions

View File

@ -1,6 +1,6 @@
{% load humanize %}Congratulations!
Thanks to you and other ungluers, {{ transaction.campaign.work.title }} will be released to the world in an unglued ebook edition. {{ transaction.host|capfirst }} is charging your credit card.
Thanks to you and other ungluers, {{ transaction.campaign.work.title }} will be released to the world in an unglued ebook edition. {{ transaction.host|capfirst }} will charge your credit card ${{ transaction.amount|intcomma }}.
Pledge Summary
Amount pledged: ${{ transaction.amount|intcomma }}
@ -8,7 +8,7 @@ Premium: {{ transaction.premium.description }}
We will notify you when the unglued ebook is available for you to read. If you've requested special premiums, the rights holder, {{ transaction.campaign.rightsholder }}, will be in touch with you via email to request any information needed to deliver your premium.
If you'd like to visit the project page, click here:
If you'd like to visit the campaign page, click here:
https://{{ site.domain }}{% url work transaction.campaign.work.id %}
Thank you again for your support.

View File

@ -6,7 +6,7 @@
{% endblock %}
{% block comments_graphical %}
Hooray! The campaign for {{ transaction.campaign.work.title }} has succeeded. Your credit card is being charged ${{ transaction.amount }}. Thank you again for your help.
Hooray! The campaign for <a href="{% url work transaction.campaign.work.id %}">{{ transaction.campaign.work.title }}</a> has succeeded. Your credit card is being charged ${{ transaction.amount }}. Thank you again for your help.
{% endblock %}
{% block comments_textual %}
@ -14,13 +14,13 @@
<p>Thanks to you and other ungluers, {{ transaction.campaign.work.title }} will be released to the world in an unglued ebook edition. {{ transaction.host|capfirst }} will now charge your credit card.</p>
<p>Pledge Summary :<br />
Amount pledged: {{ amount|intcomma }}<br />
<p><b>Pledge Summary</b><br />
Amount pledged: {{ transaction.amount|intcomma }}<br />
Premium: {{ transaction.premium.description }} <br />
</p>
<p>We will notify you when the unglued ebook is available for you to read. If you've requested special premiums, the rights holder, {{ transaction.campaign.rightsholder }}, will be in touch with you via email to request any information needed to deliver your premium.
</p>
<p>For more information, visit the visit the <a href="{% url work transaction.campaign.work.id %}">project page</a>.
<p>For more information, visit the visit the <a href="{% url work transaction.campaign.work.id %}">campaign page</a>.
</p>
<p>Thank you again for your support.

View File

@ -10,7 +10,7 @@ Amount pledged: ${{ transaction.amount|intcomma }}
Premium: {% if transaction.premium %}{{ transaction.premium.description }}{% else %}None requested{% endif %}{% endif %}
{% if transaction.host|lower == 'amazon' %}{% if up_or_down == 'increased' %}
You will also receive an email from Amazon confirming this.
You will also receive an email from Amazon confirming that you've canceled your original pledge and authorized this one.
{% else %}{% if up_or_down == 'decreased' %}
Your Amazon Payments account may still show an authorization to Unglue.it for the entire amount of your earlier pledge, but never fear -- if the campaign succeeds, we'll only charge you ${{ transaction.amount|intcomma }}.
{% endif %}{% endif %}{% else %}{% endif %}

View File

@ -5,22 +5,19 @@
<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_book %}
{% 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' %}
{% block comments_book %}
Your canceled pledge was as follows:<br />
Amount: ${{ transaction.amount|intcomma }}<br />
Premium: {% if transaction.premium %}{{ transaction.premium.description }}{% else %}None requested{% endif %}<br />
{% endblock %}
{% else %}
{% block comments_book %}
Your new pledge is as follows:<br />
Amount: ${{ transaction.amount|intcomma }}<br />
Premium: {% if transaction.premium %}{{ transaction.premium.description }}{% else %}None requested{% endif %}<br />
Thank you for your continued support of {{ transaction.campaign.work.title }}.
{% endblock %}
{% endif %}
{% endblock %}

View File

@ -5,7 +5,7 @@
{% endblock %}
{% block comments_graphical %}
<a href="{% url supporter comment.user.username }}">{{ comment.user.username }}</a> has made an official comment on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a>
<a href="{% url supporter comment.user.username %}">{{ comment.user.username }}</a> has made an official comment on <a href="{% url work comment.content_object.id %}?tab=2">{{ comment.content_object.title }}</a>
{% endblock %}
{% block comments_textual %}

View File

@ -5,7 +5,7 @@
{% endblock %}
{% block comments_graphical %}
Hooray! We're going to give {{ campaign.work.title }} to the world!
Hooray! We're going to give <a href="{% url work campaign.work.id %}">{{ campaign.work.title }}</a> to the world!
{% endblock %}
{% block comments_textual %}

View File

@ -5,7 +5,7 @@
{% endblock %}
{% block comments_graphical %}
Alas. The campaign to unglue {{ campaign.work.title }} did not succeed.
Alas. The campaign to unglue <a href="{% url work campaign.work.id %}">{{ campaign.work.title }}</a> did not succeed.
{% endblock %}
{% block comments_textual %}