From d4fecd3711bf521acb3900fbb06d0b139ba52210 Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Sun, 3 Jan 2021 22:00:40 +0100 Subject: [PATCH] =?UTF-8?q?Doc:=20P=C5=99esun=20st=C3=A1vaj=C3=ADc=C3=AD?= =?UTF-8?q?=20dokumentace=20do=20top-level=20adres=C3=A1=C5=99e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dokumentace je přístupná i bez přihlášení. --- mo/web/org_contest.py | 10 +++++----- ...ontest_import_help.html => doc_import_contest.html} | 0 ...roctor_import_help.html => doc_import_proctor.html} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename mo/web/templates/{org_contest_import_help.html => doc_import_contest.html} (100%) rename mo/web/templates/{org_proctor_import_help.html => doc_import_proctor.html} (100%) diff --git a/mo/web/org_contest.py b/mo/web/org_contest.py index c02bd849..cb49af2b 100644 --- a/mo/web/org_contest.py +++ b/mo/web/org_contest.py @@ -325,9 +325,9 @@ def org_contest_import(id: int): ) -@app.route('/org/contest/import/help.html') -def org_contest_import_help(): - return render_template('org_contest_import_help.html') +@app.route('/doc/import_contest') +def doc_import_contest(): + return render_template('doc_import_contest.html') @app.route('/org/contest/import/sablona.csv') @@ -491,6 +491,6 @@ def org_proctor_import_template(): return resp -@app.route('/org/contest/import/help-dozor.html') +@app.route('/doc/import-dozor') def org_proctor_import_help(): - return render_template('org_proctor_import_help.html') + return render_template('doc_import_proctor') diff --git a/mo/web/templates/org_contest_import_help.html b/mo/web/templates/doc_import_contest.html similarity index 100% rename from mo/web/templates/org_contest_import_help.html rename to mo/web/templates/doc_import_contest.html diff --git a/mo/web/templates/org_proctor_import_help.html b/mo/web/templates/doc_import_proctor.html similarity index 100% rename from mo/web/templates/org_proctor_import_help.html rename to mo/web/templates/doc_import_proctor.html -- GitLab