40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
HTML
|
{% extends "basepledge.html" %}
|
||
|
{% load humanize %}
|
||
|
|
||
|
{% block title %}You Have Gift Credits{% endblock %}
|
||
|
|
||
|
{% block doccontent %}
|
||
|
<div style="height:15px"></div>
|
||
|
|
||
|
<div class="jsmodule rounded clearfix">
|
||
|
<div class="jsmod-content">
|
||
|
|
||
|
<div>
|
||
|
<h2> Gift Credited </h2>
|
||
|
<p>{% if error %}
|
||
|
Your gift credit of ${{ envelope.amount }}.{{ envelope.cents }} has already been registered! {% if work %} If you want to contribute more to <a href="{% url work work.id %}">{{ work.title }}</a>, you can! {% endif %}
|
||
|
{% else %}
|
||
|
Congratulations, your gift credit of ${{ envelope.amount }}.{{ envelope.cents }} has been registered! {% if transaction.campaign %} ${{transaction.amount}} of that had been pledged to {{ transaction.campaign.name }}. If you want to contribute more to <a href="{% url work work.id %}">{{ work.title }}</a>, you can! {% endif %}
|
||
|
{% endif %}
|
||
|
</p>
|
||
|
<!-- sent log: {{ envelope.sent }} -->
|
||
|
<!-- error: {{ error }} -->
|
||
|
<!-- {{ transaction }} -->
|
||
|
<div>
|
||
|
<h2> Your gift credits </h2>
|
||
|
<p>
|
||
|
You have a balance of {{ request.user.credit.balance }} gift credits. <br />
|
||
|
You have pledged {{ request.user.credit.pledged }} gift credits to ungluing campaigns.<br />
|
||
|
You have {{ request.user.credit.available }} gift credits available to pledge or <a href="{% url gift %}">transfer</a>.<br />
|
||
|
</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|
||
|
|
||
|
|