mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Gift 1 Get 1 Promo 2018-19! (#10915)
* feat(subscription): promo banner in modal * feat(subscription): promo banner on main page * fix(banners): remove extraneous margin adjustment * fix(banners): various * feat(promotion): gift 1, get 1 * fix(promo): various * chore(promo): add Bailey * fix(promo): use different email template for promo beneficiary * fix(promo): turns out Winter is meaningful
This commit is contained in:
@@ -90,7 +90,7 @@ function sendSubscriptionNotification ({
|
||||
let text;
|
||||
let timestamp = new Date();
|
||||
if (recipient.id) {
|
||||
text = `${buyer.name} ${buyer.id} ${buyer.email} bought a ${months}-month gift subscription for ${recipient.name} ${recipient.id} ${recipient.email} using ${paymentMethod} on ${timestamp}`;
|
||||
text = `${buyer.name} ${buyer.id} ${buyer.email} bought a ${months}-month gift subscription for ${recipient.name} ${recipient.id} ${recipient.email} and got a promo using ${paymentMethod} on ${timestamp}`;
|
||||
} else if (groupId) {
|
||||
text = `${buyer.name} ${buyer.id} ${buyer.email} bought a 1-month recurring group-plan for ${groupId} using ${paymentMethod} on ${timestamp}`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user