Updated Payment Buttons

The payment buttons now match the style of the verified upgrade buttons.

XCOM-422
This commit is contained in:
Clinton Blackburn
2015-06-19 01:19:36 -04:00
committed by Clinton Blackburn
parent 6d121dc5ad
commit 1281532be5
3 changed files with 6 additions and 3 deletions

View File

@@ -68,6 +68,9 @@ var edx = edx || {};
templateContext.requirements,
function( isVisible ) { return isVisible; }
),
// This a hack to appease /lms/static/js/spec/verify_student/pay_and_verify_view_spec.js,
// which does not load an actual template context.
processors = templateContext.processors || [],
self = this;
// Track a virtual pageview, for easy funnel reconstruction.
@@ -100,7 +103,7 @@ var edx = edx || {};
);
// create a button for each payment processor
_.each(templateContext.processors, function(processorName) {
_.each(processors.reverse(), function(processorName) {
$( 'div.payment-buttons' ).append( self._getPaymentButtonHtml(processorName) );
});