Changed donations.html table style, Added pagination to donations list view. Hiding donate now button if the user is logged in and already has a donation.Handled the case when an user has not donations yet in donations.html view. Fixed bug on donation signup

This commit is contained in:
Levi 2016-08-03 00:50:33 -05:00
commit 5fce858923
8 changed files with 34 additions and 6 deletions

View file

@ -37,7 +37,9 @@ $( document ).ready(function() {
var PublishableKey = window.stripeKey;
Stripe.setPublishableKey(PublishableKey);
console.log('form',$form);
Stripe.card.createToken($form, function stripeResponseHandler(status, response) {
console.log('response',response);
if (response.error) {
/* Visual feedback */
$form.find('[type=submit]').html('Try again');