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")
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/templates/de/dates.html Sat Jan 18 12:07:12 2014 +0100
2.3 @@ -0,0 +1,56 @@
2.4 +{% extends "theme.html" %}
2.5 +
2.6 +{% block jumbotron %}
2.7 +<!-- default jumbotron -->
2.8 + {% include "jumbotron-competition.html" %}
2.9 +{% endblock %}
2.10 +
2.11 +
2.12 +{% block body %}
2.13 +<div class="container">
2.14 + <div class="col-lg-12">
2.15 + <h2>Termine</h2>
2.16 + <table class="table table-striped">
2.17 + <tbody>
2.18 + <tr>
2.19 + <td><b>Datum</b></td>
2.20 + <td><b>Ort</b></td>
2.21 + <td><b>Aktivität</b></td>
2.22 + </tr>
2.23 + <tr>
2.24 + <td>01.-03.02</td>
2.25 + <td>Berlin</td>
2.26 + <td>Kurs/Workshop</td>
2.27 + </tr>
2.28 + <tr>
2.29 + <td>13.-14.03</td>
2.30 + <td>Chemnitz</td>
2.31 + <td>Kurs/Workshop</td>
2.32 + </tr>
2.33 + <tr>
2.34 + <td>29.-30.03</td>
2.35 + <td>Köln</td>
2.36 + <td>Biercamp</td>
2.37 + </tr>
2.38 + <tr>
2.39 + <td></td>
2.40 + <td></td>
2.41 + <td></td>
2.42 + </tr>
2.43 + <tr>
2.44 + <td></td>
2.45 + <td></td>
2.46 + <td></td>
2.47 + </tr>
2.48 + <tr>
2.49 + <td></td>
2.50 + <td></td>
2.51 + <td></td>
2.52 + </tr>
2.53 + <tbody>
2.54 + </table>
2.55 +
2.56 +
2.57 + </div>
2.58 +</div>
2.59 +{% endblock %}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/templates/en/dates.html Sat Jan 18 12:07:12 2014 +0100
3.3 @@ -0,0 +1,56 @@
3.4 +{% extends "theme.html" %}
3.5 +
3.6 +{% block jumbotron %}
3.7 +<!-- default jumbotron -->
3.8 + {% include "jumbotron-competition.html" %}
3.9 +{% endblock %}
3.10 +
3.11 +
3.12 +{% block body %}
3.13 +<div class="container">
3.14 + <div class="col-lg-12">
3.15 + <h2>Dates</h2>
3.16 + <table class="table table-striped">
3.17 + <tbody>
3.18 + <tr>
3.19 + <td><b>Datum</b></td>
3.20 + <td><b>Ort</b></td>
3.21 + <td><b>Aktivität</b></td>
3.22 + </tr>
3.23 + <tr>
3.24 + <td>01.-03.02</td>
3.25 + <td>Berlin</td>
3.26 + <td>Kurs/Workshop</td>
3.27 + </tr>
3.28 + <tr>
3.29 + <td>13.-14.03</td>
3.30 + <td>Chemnitz</td>
3.31 + <td>Kurs/Workshop</td>
3.32 + </tr>
3.33 + <tr>
3.34 + <td>29.-30.03</td>
3.35 + <td>Köln</td>
3.36 + <td>Biercamp</td>
3.37 + </tr>
3.38 + <tr>
3.39 + <td></td>
3.40 + <td></td>
3.41 + <td></td>
3.42 + </tr>
3.43 + <tr>
3.44 + <td></td>
3.45 + <td></td>
3.46 + <td></td>
3.47 + </tr>
3.48 + <tr>
3.49 + <td></td>
3.50 + <td></td>
3.51 + <td></td>
3.52 + </tr>
3.53 + <tbody>
3.54 + </table>
3.55 +
3.56 +
3.57 + </div>
3.58 +</div>
3.59 +{% endblock %}