From 76a4ddef57225a86e03d81fc90b92d005c5643c1 Mon Sep 17 00:00:00 2001 From: Matthew Piatetsky Date: Wed, 17 Jan 2018 15:59:02 -0500 Subject: [PATCH] add additional info to dom for debugging purposes --- .../dashboard/_dashboard_course_listing.html | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index 7936744020..f79da3a40f 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -335,20 +335,22 @@ from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_ % endfor - % if program_data.get('is_learner_eligible_for_one_click_purchase'): -
${_('Buy all remaining courses in this program and save 10%')} - - ${_('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))} - - % endif - ${_(' ${price:.2f} {currency} ) '.format(price=program_data.get('full_program_price'), - currency=program_data.get('discount_data', {}).get('currency')))} - -
- % endif +
+ % if program_data.get('is_learner_eligible_for_one_click_purchase'): + + % endif +
% endif