# HG changeset patch # User Hans Richter # Date 1390043232 -3600 # Node ID 61b346446ea7e463be0d81fb3452d6de03459944 # Parent aa9ebbf842d2e127cc85bdcdfc02dbf5f2ec8954 dates-template added diff -r aa9ebbf842d2 -r 61b346446ea7 pymove3d.py --- a/pymove3d.py Sat Jan 18 11:45:40 2014 +0100 +++ b/pymove3d.py Sat Jan 18 12:07:12 2014 +0100 @@ -52,16 +52,23 @@ def privacy(): return render_template(get_locale() + "/privacy.html", act="privacy") + @app.route(_("/competition-2013")) def competition_2013(): - return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html", + return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html", act="coursematerial") @app.route(_("/competition-2014")) def competition_2014(): - return render_template(get_locale() + "archive/competitions/2014/competition_2014.html", + return render_template(get_locale() + "archive/competitions/2014/competition_2014.html", act="coursematerial") +@app.route(_("/dates")) +def dates(): + return render_template(get_locale() + "/dates.html", + act="dates") + + @app.errorhandler(404) def page_not_found(e): return render_template(get_locale() + "/404.html") diff -r aa9ebbf842d2 -r 61b346446ea7 templates/de/dates.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/de/dates.html Sat Jan 18 12:07:12 2014 +0100 @@ -0,0 +1,56 @@ +{% extends "theme.html" %} + +{% block jumbotron %} + + {% include "jumbotron-competition.html" %} +{% endblock %} + + +{% block body %} +
+
+

Termine

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DatumOrtAktivität
01.-03.02BerlinKurs/Workshop
13.-14.03ChemnitzKurs/Workshop
29.-30.03KölnBiercamp
+ + +
+
+{% endblock %} diff -r aa9ebbf842d2 -r 61b346446ea7 templates/en/dates.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/en/dates.html Sat Jan 18 12:07:12 2014 +0100 @@ -0,0 +1,56 @@ +{% extends "theme.html" %} + +{% block jumbotron %} + + {% include "jumbotron-competition.html" %} +{% endblock %} + + +{% block body %} +
+
+

Dates

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DatumOrtAktivität
01.-03.02BerlinKurs/Workshop
13.-14.03ChemnitzKurs/Workshop
29.-30.03KölnBiercamp
+ + +
+
+{% endblock %}