修复一些错误

This commit is contained in:
masnn committed 2020-06-02 13:41:49 +08:00
1 parent bc50913e6e
commit 2b6a510c1e
23 files changed
+321 -191

No files matched your search

+9 -3
View File
@@ -1,7 +1,13 @@
{% if tdoc %}
{% include "partials/problem_sidebar_contest.html" %}
{% set owner_udoc = udoc %}
{% include "partials/contest_sidebar.html" %}
{% if tdoc.docType == 60 %}
{% include "partials/problem_sidebar_homework.html" %}
{% set owner_udoc = udoc %}
{% include "partials/homework_sidebar.html" %}
{% else %}
{% include "partials/problem_sidebar_contest.html" %}
{% set owner_udoc = udoc %}
{% include "partials/contest_sidebar.html" %}
{% endif %}
{% else %}
{% include "partials/problem_sidebar_normal.html" %}
{% endif %}