diff --git a/digitalglarus/models.py b/digitalglarus/models.py index 1cfd1c0b..2e12e265 100644 --- a/digitalglarus/models.py +++ b/digitalglarus/models.py @@ -1,4 +1,5 @@ + import calendar from datetime import datetime, date, timedelta from dateutil.relativedelta import relativedelta diff --git a/digitalglarus/static/digitalglarus/css/price.css b/digitalglarus/static/digitalglarus/css/price.css index 12a0e2f0..1a019740 100644 --- a/digitalglarus/static/digitalglarus/css/price.css +++ b/digitalglarus/static/digitalglarus/css/price.css @@ -71,7 +71,7 @@ padding-right: 15px; padding-top: 15px; padding-bottom: 30px; - margin-top: 80px; + margin-top: 10px; margin-bottom: 30px; margin-left: 10px; margin-right: 10px; @@ -174,7 +174,7 @@ padding-right: 15px; padding-top: 15px; padding-bottom: 15px; - margin-top: 80px; + margin-top: 0px; margin-bottom: 30px; margin-left: 10px; margin-right: 10px; diff --git a/digitalglarus/static/digitalglarus/css/ungleich.css b/digitalglarus/static/digitalglarus/css/ungleich.css index 7742e5cd..03a2b47c 100644 --- a/digitalglarus/static/digitalglarus/css/ungleich.css +++ b/digitalglarus/static/digitalglarus/css/ungleich.css @@ -64,8 +64,8 @@ } .ungleich-gallery-text-carousel .carousel-indicators li, .text-carousel .carousel-indicators li { - width: 5px; - height: 5px; + width: 10px; + height: 10px; margin: 10px; border: 0; border-radius: 50%; diff --git a/digitalglarus/static/digitalglarus/js/payment.js b/digitalglarus/static/digitalglarus/js/payment.js index 0d95a109..7e30a667 100644 --- a/digitalglarus/static/digitalglarus/js/payment.js +++ b/digitalglarus/static/digitalglarus/js/payment.js @@ -28,6 +28,7 @@ $( document ).ready(function() { var hasCreditcard = window.hasCreditcard; + hasCreditcard= true; console.log("has creditcard"); console.log("has creditcard"); console.log("has creditcard"); @@ -40,9 +41,11 @@ $( document ).ready(function() { e.preventDefault(); if (hasCreditcard) { $('#billing-form').submit(); + console.log("has creditcard2"); } else { $('#payment-form').submit(); + console.log("has creditcard3"); } @@ -73,7 +76,7 @@ $( document ).ready(function() { /* Visual feedback */ $form.find('[type=submit]').html('Validating '); - + console.log("submiting2"); var PublishableKey = window.stripeKey; Stripe.setPublishableKey(PublishableKey); Stripe.card.createToken($form, function stripeResponseHandler(status, response) { diff --git a/digitalglarus/templates/digitalglarus/booking_orders_detail.html b/digitalglarus/templates/digitalglarus/booking_orders_detail.html index a91ec55a..a84428bd 100644 --- a/digitalglarus/templates/digitalglarus/booking_orders_detail.html +++ b/digitalglarus/templates/digitalglarus/booking_orders_detail.html @@ -84,7 +84,7 @@ Go to my page - +
+
Still have trouble? Contact us for technical support.
+Still have trouble? Contact us .
+ Your membership wouldn't be automatically renewed each month. +
++
+ {% bootstrap_alert paymentError alert_type='danger' %} +
++
Do you want to cancel your subscription?