core: fix owner display on problem & contest (#614)

This commit is contained in:
panda authored and GitHub committed 2023-08-17 06:39:35 +08:00
1 parent f79f3d2d79
commit b73afc7af6
10 files changed
+6 -10

No files matched your search

@@ -1,7 +1,7 @@
{% if not owner_udoc %}
{% set owner_udoc = udoc %}
{% endif %}
{% if tdoc %}
{% if not owner_udoc %}
{% set owner_udoc = udoc %}
{% endif %}
{% if tdoc.rule == 'homework' %}
{% include "partials/problem_sidebar_homework.html" %}
{% include "partials/homework_sidebar.html" %}