-
-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VirtualCard): Send gift cards redeem link emails
- Loading branch information
Showing
7 changed files
with
203 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Subject: 🎁 {{emitter.name}} has granted you a {{{currency initialBalance currency=currency}}} gift card to donate on Open Collective! | ||
|
||
{{> header}} | ||
|
||
<table> | ||
<tr> | ||
<td> | ||
<center> | ||
<h1>{{#ifCond currency '===' 'USD'}}💵{{/ifCond}}{{#ifCond currency '===' 'EUR'}}💶{{/ifCond}}{{#ifCond currency '===' 'GBP'}}💷{{/ifCond}}</h1> | ||
<p> | ||
You're one step away to redeem the {{{currency initialBalance currency=currency}}} gift card | ||
offered to you by <a href="{{config.host.website}}/{{emitter.slug}}">{{emitter.name}}</a>. Just | ||
click on the button bellow and fill your info to redeem your gift card 🎁 | ||
</p> | ||
<center> | ||
<a href="{{config.host.website}}/redeem/{{redeemCode}}" class="btn blue"><div>Redeem</div></a> | ||
</center> | ||
</center> | ||
</td> | ||
<td></td> | ||
<td valign="top"> | ||
{{> collectivecard emitter}} | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
{{> footer}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
You're one step away to redeem the {{{currency initialBalance currency=currency}}} gift card | ||
offered to you by {{emitter.name}}. Just click on the button bellow and fill your info to redeem your gift card 🎁 | ||
|
||
{{config.host.website}}/redeem/{{redeemCode}} |
Oops, something went wrong.