Changeset - da5aec72d77a
[Not reviewed]
version_5
6 1 0
Dennis Fink - 9 years ago 2015-10-11 18:43:36
dennis.fink@c3l.lu
Remove uneeded donate pages
7 files changed with 2 insertions and 316 deletions:
0 comments (0 inline, 0 general)
ennstatus/donate/views.py
Show inline comments
 
@@ -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',
ennstatus/templates/donate/bitcoin.html
Show inline comments
 
deleted file
ennstatus/templates/donate/bpm.html
Show inline comments
 
deleted file
ennstatus/templates/donate/flattr.html
Show inline comments
 
deleted file
ennstatus/templates/donate/paypal.html
Show inline comments
 
deleted file
ennstatus/templates/donate/snailmail.html
Show inline comments
 
deleted file
ennstatus/templates/donate/wiretransfer.html
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)