core&ui: fix contestTimer on duration contest (#576)

This commit is contained in:
panda authored and GitHub committed 2023-05-16 08:02:02 +08:00
1 parent 58cab9919d
commit 5b78afeba5
8 files changed
+15 -6

No files matched your search

@@ -1,6 +1,7 @@
{% import "components/paginator.html" as paginator with context %}
{% extends "layout/basic.html" %}
{{ set(UiContext, 'tdoc', tdoc) }}
{{ set(UiContext, 'tsdoc', tsdoc) }}
{% set type = 'homework' if tdoc.rule == 'homework' else 'contest' %}
{% block content %}