Fixed color of payment failed message

master
Mark Moffat 2020-03-21 11:50:07 +10:30
parent c15b22ed6d
commit 22f62697f5
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -251,7 +251,7 @@ handlebars = handlebars.create({
} }
return '<h2 class="text-warning">The payment for this order is pending. We will be in contact shortly.</h2>'; return '<h2 class="text-warning">The payment for this order is pending. We will be in contact shortly.</h2>';
} }
return '<h2 class="text-success">Your payment has failed. Please try again or contact us.</h2>'; return '<h2 class="text-danger">Your payment has failed. Please try again or contact us.</h2>';
}, },
paymentOutcome: (status) => { paymentOutcome: (status) => {
if(status === 'Paid' || status === 'Pending'){ if(status === 'Paid' || status === 'Pending'){