Allow to adjust name and description of gift card payments

This commit is contained in:
Raphael Michel
2022-11-24 16:36:24 +01:00
parent 5259c8f33e
commit f782324d5f
74 changed files with 23244 additions and 21640 deletions

View File

@@ -1,10 +1,5 @@
{% load i18n %}
{% load rich_text %}
<p>
{% blocktrans %}
If you have a gift card, please enter the gift card code here. If the gift card does not have
enough credit to pay for the full order, you will be shown this page again and you can either
redeem another gift card or select a different payment method for the difference.
{% endblocktrans %}
</p>
{{ request.event.settings.payment_giftcard_public_description|rich_text }}
<input name="giftcard" class="form-control" placeholder="{% trans "Gift card code" %}">

View File

@@ -2,7 +2,6 @@
<p>
{% blocktrans trimmed with card=info_data.gift_card_secret %}
Your gift card {{ card }} will be used to pay for this order. If the credit on the gift card is lower than the order total, you will be able to pay the
difference with a different payment method. If the credit is higher than the order total, you will be able to re-use the gift card in the future.
Your gift card {{ card }} will be used to pay for this order.
{% endblocktrans %}
</p>