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'): +
${_('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 +
% endif