From eeb05406a0ba96856accbfc10c94b64a082aa222 Mon Sep 17 00:00:00 2001 From: Matthew Piatetsky Date: Tue, 23 Jan 2018 17:45:49 -0500 Subject: [PATCH] fix list price on bundle button --- lms/static/sass/_experiments.scss | 4 ++++ lms/templates/dashboard/_dashboard_course_listing.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/_experiments.scss b/lms/static/sass/_experiments.scss index 4356fa8acf..ca1473d11a 100644 --- a/lms/static/sass/_experiments.scss +++ b/lms/static/sass/_experiments.scss @@ -27,6 +27,10 @@ background: #009b00 !important; } +.complete-program-dashboard-button .list-price { + text-decoration: line-through; +} + .complete-program-dashboard-span { display: block; float: right; diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index f79da3a40f..68d4b3aeb0 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -342,7 +342,7 @@ from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_ ${_('Upgrade All Remaining Courses (')} % if program_data.get('discount_data', {}).get('is_discounted'): - ${_('{"{0:.2f}".format(a)}'.format(program_data['discount_data']['total_incl_tax_excl_discounts'], 2))} + ${' ${price:.2f} '.format(price=program_data.get('discount_data', {}).get('total_incl_tax_excl_discounts'))} % endif ${_(' ${price:.2f} {currency} ) '.format(price=program_data.get('full_program_price'),