From e7288c947637f47df3a8e454e8cd9f0e6286a6df Mon Sep 17 00:00:00 2001 From: undefined Date: Thu, 5 Sep 2024 11:16:58 +0800 Subject: [PATCH] ui: hide contest_problem quick navigation if there are too many problems in contest --- packages/ui-default/templates/problem_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-default/templates/problem_detail.html b/packages/ui-default/templates/problem_detail.html index 31513d204..fb107a43f 100644 --- a/packages/ui-default/templates/problem_detail.html +++ b/packages/ui-default/templates/problem_detail.html @@ -47,7 +47,7 @@ {% endif %} #{{ String.fromCharCode(65+tdoc.pids.indexOf(pdoc.docId)) if tdoc else pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }} - {% if tdoc %} + {% if tdoc and tdoc.pids|length <= 26 %}
{% for pid in tdoc.pids -%} {% set status = tsdoc.detail[pid].status %}