add coupon code to discount banner

This commit is contained in:
Matthew Piatetsky
2020-01-08 15:39:42 -05:00
parent f1c5981fab
commit a47e68321e
2 changed files with 7 additions and 3 deletions

View File

@@ -443,7 +443,7 @@ class TestCourseHomePageAccess(CourseHomePageTestCase):
bannerText = u'''<div class="first-purchase-offer-banner" role="note">
<span class="first-purchase-offer-banner-bold">
Upgrade by {discount_expiration_date} and save {percentage}% [{strikeout_price}]</span>
<br>Discount will be automatically applied at checkout. <a href="{upgrade_link}">Upgrade Now</a>
<br>Use code <b>EDXWELCOME</b> at checkout! <a href="{upgrade_link}">Upgrade Now</a>
</div>'''.format(
discount_expiration_date=discount_expiration_date,
percentage=percentage,