fix list price on bundle button

This commit is contained in:
Matthew Piatetsky
2018-01-23 17:45:49 -05:00
parent 6bfb9c9478
commit eeb05406a0
2 changed files with 5 additions and 1 deletions

View File

@@ -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;

View File

@@ -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'):
<span class='list-price'>
${_('{"{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'))}
</span>
% endif
${_(' ${price:.2f} {currency} ) '.format(price=program_data.get('full_program_price'),