Replace 2.99 by 3, 29.99 by 30

This commit is contained in:
Son NK 2020-11-09 17:56:26 +01:00
parent a35256d161
commit 44c3ac1741
2 changed files with 5 additions and 9 deletions

View File

@ -75,23 +75,19 @@
</div>
<div class="alert alert-info">
Black Friday Deal: 50% off on the yearly plan ($15/year instead of $29.99/year) with the coupon code
<em data-toggle="tooltip"
title="Click to copy"
class="clipboard"
data-clipboard-text="BLACKFRIDAY">BLACKFRIDAY</em>
Black Friday Deal: 50% off on the yearly plan ($15/year instead of $30/year).
<br>
Available until November 30.
</div>
<button class="btn btn-success" onclick="upgrade({{ PADDLE_MONTHLY_PRODUCT_ID }})">
Monthly <br>
$2.99/month
$3/month
</button>
<button class="btn btn-primary" onclick="upgrade({{ PADDLE_YEARLY_PRODUCT_ID }})">
Yearly <br>
$29.99/year
$30/year
</button>
</div>
</div>

View File

@ -1354,9 +1354,9 @@ class Subscription(db.Model, ModelMixin):
def plan_name(self):
if self.plan == PlanEnum.monthly:
return "Monthly ($2.99/month)"
return "Monthly ($3/month)"
else:
return "Yearly ($29.99/year)"
return "Yearly ($30/year)"
def __repr__(self):
return f"<Subscription {self.plan} {self.next_bill_date}>"