diff --git a/ennstatus/donate/views.py b/ennstatus/donate/views.py --- a/ennstatus/donate/views.py +++ b/ennstatus/donate/views.py @@ -10,18 +10,8 @@ from ennstatus.root.constants import BPM donate_page = Blueprint('donate', __name__) -@donate_page.route('/') +@donate_page.route('/', methods=('GET', 'POST')) def index(): - return render_template('donate/index.html') - - -@donate_page.route('/wiretransfer') -def wiretransfer(): - return render_template('donate/wiretransfer.html') - - -@donate_page.route('/snailmail', methods=('GET', 'POST')) -def snailmail(): current_app.logger.info('Handling snailmail') form = BPMForm() @@ -47,27 +37,7 @@ def snailmail(): form.country.data = country address = BPM_ADDRESSES[country] - return render_template('donate/snailmail.html', form=form, address=address) - - -@donate_page.route('/paypal') -def paypal(): - return render_template('donate/paypal.html') - - -@donate_page.route('/bitcoin') -def bitcoin(): - return render_template('donate/bitcoin.html') - - -@donate_page.route('/flattr') -def flattr(): - return render_template('donate/flattr.html') - - -@donate_page.route('/bpm') -def bpm(): - return render_template('donate/bpm.html') + return render_template('donate/index.html', form=form, address=address) @donate_page.route('/received', diff --git a/ennstatus/templates/donate/bitcoin.html b/ennstatus/templates/donate/bitcoin.html deleted file mode 100644 --- a/ennstatus/templates/donate/bitcoin.html +++ /dev/null @@ -1,140 +0,0 @@ -{% extends "base.html" %} - -{% set title = "Donate - Bitcoin" %} - -{% block styles %} - {{ super() }} - -{% endblock %} - - -{% block content %} -
-- -"This may be the purest form of democracy the world has ever known, and I — for one — am thrilled to be here to watch it unfold."
- Paco Ahlgren -
Bitcoin is a cryptocurrency where the creation and transfer of bitcoins is based on an open-source cryptographic protocol that is independent of any central authority.Bitcoins can be transferred through a computer or smartphone without an intermediate financial institution. The concept was introduced in a 2008 paper by a pseudonymous developer known only as "Satoshi Nakamoto", who called it a peer-to-peer, electronic cash system.
- -Bitcoin Address
- 1EYZCq2ZL6chWXYYkJoDo7fz39UC7do5cC
-- -"Privacy is not something that I'm merely entitled to, it's an absolute prerequisite."
- Marlon Brandobrainyquote -
We accept BPM points as they will be used for our BPM Parcel Station. The parcel station is used for receiving and sending mails and packages around the world!
- - --- -"This may be the purest form of democracy the world has ever known, and I — for one — am thrilled to be here to watch it unfold."
- Paco Ahlgren-
We do accept flattr. Help us to raise some more funds to support our infrastructure.
-
-
-
-
-
-- -"This may be the purest form of democracy the world has ever known, and I — for one — am thrilled to be here to watch it unfold."
- Paco Ahlgren-
PayPal is quite fast and a nice alternative to the good old wire transfer. Still, we prefer the good old wire transfer, as they don't put up our expenses and so we can invest more in our infrstrcture.
-Still, we are glad with every support we get, so don't hesitate to use this method as well.
- - --- -"This may be the purest form of democracy the world has ever known, and I — for one — am thrilled to be here to watch it unfold."
- Paco Ahlgren-
SnailMail is most probably, the most anonymous way to support us - as long as you debit / change the money anonymously and touch it without your fingerprints.
- - - - Frënn vun der Ënn, ASBL-- -"This may be the purest form of democracy the world has ever known, and I — for one — am thrilled to be here to watch it unfold."
- Paco Ahlgren-
Wire Transfer is probably the most traditional way to support us, but one of the simplest. Please, find our bank information below.
-Either donate directly to us or proxy your money through one of our partners.
-
- Account holder: Frënn vun der Ënn A.S.B.L.
- BIC/SWIFT: BCEELULL
- IBAN: LU65 0019 4055 6782 7000
-
- Account holder: Chaos Computer Club Lëtzebuerg A.S.B.L.
- BIC/SWIFT: BCEELULL
- IBAN: LU29 0019 2855 3890 4000
- Subject: * to FVDE
-