fix raymond's nits

pull/1/head
eric 2013-12-18 11:17:54 -05:00
parent df6d4552e3
commit 2d9a50051b
6 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{% load humanize %}{% ifequal transaction.host 'credit' %}Your Unglue.it transaction has completed and ${{transaction.max_amount|intcomma}} has been deducted from your Unglue.it credit balance. You have ${{request.user.credit.available|intcomma}} of credit left. {% else %}{% if transaction.max_amount > transaction.amount %}Your transaction for ${{transaction.max_amount|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 ${{request.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|intcomma }}. {% endif %}{% endifequal %}
{% load humanize %}{% ifequal transaction.host 'credit' %}Your Unglue.it transaction has completed and ${{transaction.max_amount|default:"0"}} 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|default:"0"}} 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|default:"0"}} of credit left. {% else %}Your Unglue.it credit card transaction has completed and your credit card has been charged ${{ transaction.amount|default:"0" }}. {% endif %}{% endifequal %}
{% ifequal transaction.offer.license 2 %}If you have not already done so, download your ebook at
https://{{ current_site.domain }}{% url download transaction.campaign.work.id %}

View File

@ -8,13 +8,13 @@
{% block comments_graphical %}
{% ifequal transaction.host 'credit' %}
Your Unglue.it transaction has completed and ${{transaction.max_amount|intcomma}} has been deducted from your Unglue.it credit balance.
You have ${{request.user.credit.available|intcomma}} of credit left.
You have ${{transaction.user.credit.available|default:"0"}} of credit left.
{% else %}
{% if transaction.max_amount > transaction.amount %}
Your transaction for ${{transaction.max_amount|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 ${{request.user.credit.available|intcomma}} of credit left.
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|intcomma }}.
{% endif %}

View File

@ -27,13 +27,13 @@
{% ifequal transaction.host 'credit' %}
Amount: ${{transaction.max_amount|intcomma}}.<br />
This amount has been deducted from your Unglue.it credit balance.<br />
You have ${{request.user.credit.available|intcomma}} of credit left.<br />
You have ${{request.user.credit.available|default:"0"}} of credit left.<br />
{% else %}
Total: ${{transaction.max_amount|intcomma}}.<br />
{% if transaction.max_amount > transaction.amount %}
Your credit card has been charged ${{transaction.amount}}.<br />
The rest has been deducted from your unglue.it credit balance.<br />
You have ${{request.user.credit.available|intcomma}} of credit left.<br />
You have ${{request.user.credit.available|default:"0"}} of credit left.<br />
{% else %}
This amount has been charged to your credit card.<br />
{% endif %}