Refactor email templates

This commit is contained in:
badblocks 2025-04-07 18:33:45 -07:00
parent e37731b74d
commit 32da8157a6
31 changed files with 476 additions and 2516 deletions

View file

@ -0,0 +1,2 @@
Happy trading!
PKMN Trade Club

View file

@ -0,0 +1 @@
Hello {{ recipient_user }},

View file

@ -0,0 +1 @@
[PKMN Trade Club]

View file

@ -0,0 +1,15 @@
{% include 'email/common/header.txt' %}
Great news! {{ acting_user }} ({{ acting_user_ign }} {{ acting_user_friend_code }}) has accepted your trade offer.
Trade Details:
- They have: {{ want_card }}
- They want: {{ has_card }}
(#{{ hash }})
What's next? You can now mark the trade as "Sent" once you've offered the card to them in the app, or reject the trade if needed.
Visit your dashboard to manage this trade:
{{ domain }}{% url 'dashboard' %}
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
Trade Accepted

View file

@ -0,0 +1,15 @@
{% include 'email/common/header.txt' %}
Great news! {{ acting_user }} ({{ acting_user_ign }} {{ acting_user_friend_code }}) has marked your trade as "Received".
Trade Details:
- They sent: {{ want_card }}
- They received: {{ has_card }}
(#{{ hash }})
What's next? Send a thank you to this user to increase their reputation!
Visit your dashboard to send thanks:
{{ domain }}{% url 'dashboard' %}
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
Trade Received

View file

@ -0,0 +1,15 @@
{% include 'email/common/header.txt' %}
We're sorry to inform you that {{ acting_user }} ({{ acting_user_friend_code }}) has canceled their trade acceptance.
Trade Details:
- They had: {{ want_card }}
- They wanted: {{ has_card }}
(#{{ hash }})
Your trade offer is still active and available for other users to accept.
Visit your dashboard to manage your trade offers:
{{ domain }}{% url 'dashboard' %}
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
Trade Was Rejected

View file

@ -0,0 +1,15 @@
{% include 'email/common/header.txt' %}
We're sorry to inform you that {{ acting_user }} ({{ acting_user_friend_code }}) has rejected the trade.
Trade Details:
- You had: {{ has_card }}
- You wanted: {{ want_card }}
(#{{ hash }})
Don't worry - there are plenty of other trade opportunities available! You can browse our marketplace for similar trades.
Visit the marketplace:
{{ domain }}{% url 'trade_offer_list' %}
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
Trade Was Rejected

View file

@ -0,0 +1,15 @@
{% include 'email/common/header.txt' %}
{{ acting_user }} ({{ acting_user_ign }} {{ acting_user_friend_code }}) has marked your trade as "Sent".
Trade Details:
- You have: {{ want_card }}
- You want: {{ has_card }}
(#{{ hash }})
What's next? Once you respond to the trade in the app, please mark the trade as "Received" in your dashboard.
Visit your dashboard to manage this trade:
{{ domain }}{% url 'dashboard' %}
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
Trade Sent

View file

@ -0,0 +1,15 @@
{% include 'email/common/header.txt' %}
{{ acting_user }} ({{ acting_user_friend_code }}) has sent their thanks for the successful trade!
Trade Details:
- They sent: {{ want_card }}
- They received: {{ has_card }}
(#{{ hash }})
What's next? Send a thank you to this user to increase their reputation!
Visit your dashboard to send thanks:
{{ domain }}{% url 'dashboard' %}
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
You Received A Thanks!

View file

@ -0,0 +1,14 @@
{% include 'email/common/header.txt' %}
{{ acting_user }} ({{ acting_user_friend_code }}) has sent their thanks for the successful trade!
Trade Details:
- {% if is_initiator %}They sent: {{ has_card }}{% else %}You sent: {{ want_card }}{% endif %}
- {% if is_initiator %}They received: {{ want_card }}{% else %}You received: {{ has_card }}{% endif %}
(#{{ hash }})
This trade is now completed; no further actions can be made.
Thank you for using PKMN Trade Club.
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
You Received A Thanks!

View file

@ -0,0 +1,15 @@
{% include 'email/common/header.txt' %}
{{ acting_user }} ({{ acting_user_friend_code }}) has sent their thanks for the successful trade!
Trade Details:
- You sent: {{ want_card }}
- You received: {{ has_card }}
(#{{ hash }})
What's next? Send a thank you to this user to increase their reputation!
Visit your dashboard to send thanks:
{{ domain }}{% url 'dashboard' %}
{% include 'email/common/footer.txt' %}

View file

@ -0,0 +1 @@
You Received A Thanks!