# HG changeset patch # User Reimar Bauer # Date 1393319693 -3600 # Node ID fe169c748b0cf5cd6741b4073218187cd4a26ccf # Parent 403e369bf5fd0de8c644bdfc258a1902421e0ed1 prizes listed on rst page diff -r 403e369bf5fd -r fe169c748b0c pymove3d.py --- a/pymove3d.py Wed Jan 29 09:28:15 2014 +0100 +++ b/pymove3d.py Tue Feb 25 10:14:53 2014 +0100 @@ -129,6 +129,17 @@ return render_template("/content.html", act="dates", content=content) +@app.route("/prizes") +def prizes(): + filename = os.path.join("templates", get_locale(), "rst", "prizes.rst") + overrides = { + 'initial_header_level': 2, + } + content = get_content(filename, overrides=overrides) + return render_template("/content.html",act="prizes", content=content) + + + @app.route("/competition/2013") def competition_2013(): competition = _(u'Competition 2013') diff -r 403e369bf5fd -r fe169c748b0c templates/de/rst/prizes.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/de/rst/prizes.rst Tue Feb 25 10:14:53 2014 +0100 @@ -0,0 +1,11 @@ +Preise +------- + +* Professioneller Kurs an der Python-Academy in Leipzig +* Besuch der EuroPython 2014 Konferenz in Berlin +* ein RaspberryPi +* PiFace für RaspberryPi +* Arduino +* Bücher +* Zeitschriften +* Gutscheine \ No newline at end of file diff -r 403e369bf5fd -r fe169c748b0c templates/en/rst/prizes.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/en/rst/prizes.rst Tue Feb 25 10:14:53 2014 +0100 @@ -0,0 +1,11 @@ +Preise +------- + +* Professioneller Kurs an der Python-Academy in Leipzig +* Besuch der EuroPython 2014 Konferenz in Berlin +* ein RaspberryPi +* PiFace für RaspberryPi +* Arduino +* Bücher +* Zeitschriften +* Gutscheine \ No newline at end of file