pymove3d.py
changeset 112 61b346446ea7
parent 109 bd4b675d9214
child 118 8f3447e7f36e
     1.1 --- a/pymove3d.py	Sat Jan 18 11:45:40 2014 +0100
     1.2 +++ b/pymove3d.py	Sat Jan 18 12:07:12 2014 +0100
     1.3 @@ -52,16 +52,23 @@
     1.4  def privacy():
     1.5      return render_template(get_locale() + "/privacy.html", act="privacy")
     1.6  
     1.7 +
     1.8  @app.route(_("/competition-2013"))
     1.9  def competition_2013():
    1.10 -    return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html", 
    1.11 +    return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html",
    1.12                             act="coursematerial")
    1.13  
    1.14  @app.route(_("/competition-2014"))
    1.15  def competition_2014():
    1.16 -    return render_template(get_locale() + "archive/competitions/2014/competition_2014.html", 
    1.17 +    return render_template(get_locale() + "archive/competitions/2014/competition_2014.html",
    1.18                             act="coursematerial")
    1.19  
    1.20 +@app.route(_("/dates"))
    1.21 +def dates():
    1.22 +    return render_template(get_locale() + "/dates.html",
    1.23 +                           act="dates")
    1.24 +
    1.25 +
    1.26  @app.errorhandler(404)
    1.27  def page_not_found(e):
    1.28      return render_template(get_locale() + "/404.html")
Impressum Datenschutzerklärung