equal
deleted
inserted
replaced
84 content = get_content(filename) |
84 content = get_content(filename) |
85 return render_template("/competition.html", act="competition", content=content) |
85 return render_template("/competition.html", act="competition", content=content) |
86 |
86 |
87 @app.route("/task") |
87 @app.route("/task") |
88 def task(): |
88 def task(): |
89 return render_template(get_locale() + "/task.html", act="task") |
89 filename = os.path.join("templates", get_locale(), "rst", "task.rst") |
|
90 content = get_content(filename) |
|
91 return render_template("/task.html", act="task", content=content) |
90 |
92 |
91 @app.route("/submission") |
93 @app.route("/submission") |
92 def submission(): |
94 def submission(): |
93 return render_template(get_locale() + "/submission.html", act="submission") |
95 return render_template(get_locale() + "/submission.html", act="submission") |
94 |
96 |