From: Jan Szejko Date: Wed, 26 Sep 2018 08:57:13 +0000 (+0200) Subject: minor fixes in paypal X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/94f9a6717f21ac603b3e6c02b97a69b084c09a3f?ds=sidebyside minor fixes in paypal --- diff --git a/src/paypal/forms.py b/src/paypal/forms.py index 84098d8c7..4cc76608c 100644 --- a/src/paypal/forms.py +++ b/src/paypal/forms.py @@ -7,4 +7,4 @@ from django.utils.translation import ugettext_lazy as _ class PaypalSubscriptionForm(forms.Form): - amount = forms.IntegerField(min_value=10, max_value=30000, initial=20, label=_('amount in PLN')) + amount = forms.IntegerField(min_value=5, max_value=30000, initial=20, label=_('amount in PLN')) diff --git a/src/paypal/templates/paypal/error.html b/src/paypal/templates/paypal/error.html index 557284ba8..6214e90b1 100644 --- a/src/paypal/templates/paypal/error.html +++ b/src/paypal/templates/paypal/error.html @@ -1,3 +1,4 @@ +{% load i18n %}

{% trans "PayPal Error" %}: {{ error.message }}

{% for detail in error.details %}

{{ detail.field }}: {{ detail.issue }}

diff --git a/src/paypal/templates/paypal/form.html b/src/paypal/templates/paypal/form.html index 7bd8546e6..9f4c76beb 100644 --- a/src/paypal/templates/paypal/form.html +++ b/src/paypal/templates/paypal/form.html @@ -8,7 +8,7 @@ {% block body %}

{% trans "Wolne Lektury Friend Club" %}

-

Poniżej możesz ustawić comiesięczną płatność (co najmniej 10 zł), aby dołączyć do Przyjaciół Wolnych Lektur.

+

Poniżej możesz ustawić comiesięczną płatność (co najmniej 5 zł), aby dołączyć do Przyjaciół Wolnych Lektur.

{# https://www.facebook.com/sharer/sharer.php?u=https%3A//wolnelektury.pl{% url 'paypal_form' %} #} {% if user.is_authenticated %}