This commit is contained in:
Chris Van 2012-03-27 15:27:47 -07:00
Родитель 00e8684d06
Коммит 0838f479cd
2 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -19,31 +19,31 @@
<section id="purchase-done" class="overlay">
<h3>{{ _('Thank you!') }}</h3>
<p>
{% trans name=product.name %}
{% with name=product.name %}
Your purchase of <b>{{ name }}</b> is complete.
{% endtrans %}
{% endwith %}
</p>
<p>
{% trans manifest_url=product.manifest_url, receipt=receipt, href='#',
{% with manifest_url=product.manifest_url, receipt=receipt, href='#',
class='trigger_app_install' %}
If installation does not automatically begin, please
<a class="{{ class }}" data-receipt="{{ receipt }}" data-manifest-url="{{ manifest_url }}" href="{{ href }}">
click here</a>.
{% endtrans %}
{% endwith %}
</p>
<p class="mozilla-mission">
{% trans learn_more='http://www.mozilla.org/causes' %}
{% with learn_more='http://www.mozilla.org/causes' %}
Your purchase helps support Mozilla's mission.
<a href="{{ learn_more }}" target="_blank">Learn more</a>
{% endtrans %}
{% endwith %}
</p>
{% if waffle.flag('allow-pre-auth') and not amo_user.has_preapproval_key() %}
<form form id="preapproval" method="post" action="{{ url('users.payments.preapproval') }}">
{{ csrf() }}
<p>{{ _('Want to do this faster next time?') }}</p>
<p>{{ _('Setting up PayPal pre-approval allows you to buy apps quickly on this site. They also allow you to use in-app purchases that go through this site.') }}</p>
<p><button type="submit">{{ _('Set up pre-approval') }}</button></p>
<p>{{ loc('Want to do this faster next time?') }}</p>
<p>{{ loc('Setting up PayPal pre-approval allows you to buy apps quickly on this site. They also allow you to use in-app purchases that go through this site.') }}</p>
<p><button type="submit">{{ loc('Set up pre-approval') }}</button></p>
</form>
{% endif %}

Просмотреть файл

@ -1,5 +1,5 @@
<h1>{{ _('Support Request Sent') }}</h1>
<p>{{ _('You support request has been sent.') }}</p>
<p>{{ _('Your support request has been sent.') }}</p>
<p class="form-footer">
<a href="{{ url('account.purchases') }}" class="button">
{{ _('Continue') }}</a>