# HG changeset patch # User Dennis Fink # Date 2014-01-21 19:09:24 # Node ID 5edeacb940e8f47088360bc0259b56b7e2c2c8c9 # Parent 1abafdd2a20f35980824281aa1c20dfcde939480 added bpm as donate option diff --git a/ennstatus/donate/views.py b/ennstatus/donate/views.py --- a/ennstatus/donate/views.py +++ b/ennstatus/donate/views.py @@ -36,6 +36,9 @@ def bitcoin(): def flattr(): return render_template('donate/flattr.html') +@donate_page.route('/bpm') +def bpm(): + return render_template('donate/bpm.html') @donate_page.route('/received', methods=('GET', 'POST')) diff --git a/ennstatus/templates/base.html b/ennstatus/templates/base.html --- a/ennstatus/templates/base.html +++ b/ennstatus/templates/base.html @@ -46,6 +46,7 @@
  • PayPal
  • Bitcoin
  • Flattr
  • +
  • BPM
  • Received Donations
  • diff --git a/ennstatus/templates/donate/bpm.html b/ennstatus/templates/donate/bpm.html --- a/ennstatus/templates/donate/bpm.html +++ b/ennstatus/templates/donate/bpm.html @@ -1,10 +1,10 @@ {% extends "base.html" %} -{% set title = "Donate - Flattr" %} +{% set title = "Donate - BPM" %} {% block content %}
    - BPM + BPM

    BPM Points

    @@ -15,7 +15,7 @@

    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!

    {% endblock %} diff --git a/ennstatus/templates/donate/index.html b/ennstatus/templates/donate/index.html --- a/ennstatus/templates/donate/index.html +++ b/ennstatus/templates/donate/index.html @@ -74,7 +74,7 @@
    - +
    BPM Points

    For our parcel station!

    Take Action Now