# HG changeset patch # User Dennis Fink # Date 2015-10-29 00:03:55 # Node ID e74dadda6adc3136980cbbe242fe7688a72193a3 # Parent 7cd99a876ed193673f76ee88e2ad5a3b536f4e1b Begin empty template for donation statistics diff --git a/ennstatus/donate/views.py b/ennstatus/donate/views.py --- a/ennstatus/donate/views.py +++ b/ennstatus/donate/views.py @@ -121,3 +121,8 @@ def received(): return render_template('donate/received.html', form=form, csv_file=csv_file, year=year, month=month, total=total) + + +@donate_page.route('/statistics') +def statistics(): + return render_template('donate/statistics.html') diff --git a/ennstatus/templates/base.html b/ennstatus/templates/base.html --- a/ennstatus/templates/base.html +++ b/ennstatus/templates/base.html @@ -94,6 +94,8 @@
  • Adopt a Bridge
  • Join Us
  • +
  • +
  • Donation statistics
  • diff --git a/ennstatus/templates/donate/statistics.html b/ennstatus/templates/donate/statistics.html new file mode 100644 --- /dev/null +++ b/ennstatus/templates/donate/statistics.html @@ -0,0 +1,28 @@ +{# Ënnstatus + Copyright (C) 2015 Dennis Fink + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +#} + +{% extends "base.html" %} + +{% set title = "Donate - Statistics" %} + +{% block content %} +
    +

    Donate Statistics

    +
    +
    +
    +{% endblock %}