mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: hide contest_problem quick navigation if there are too many problems in contest
This commit is contained in:
1 file changed
+1
-1
@@ -47,7 +47,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
#{{ String.fromCharCode(65+tdoc.pids.indexOf(pdoc.docId)) if tdoc else pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }}
|
#{{ String.fromCharCode(65+tdoc.pids.indexOf(pdoc.docId)) if tdoc else pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }}
|
||||||
</h1>
|
</h1>
|
||||||
{% if tdoc %}
|
{% if tdoc and tdoc.pids|length <= 26 %}
|
||||||
<div class="section__tools contest-problems">
|
<div class="section__tools contest-problems">
|
||||||
{% for pid in tdoc.pids -%}
|
{% for pid in tdoc.pids -%}
|
||||||
{% set status = tsdoc.detail[pid].status %}
|
{% set status = tsdoc.detail[pid].status %}
|
||||||
|
|||||||
Reference in new issue
Block a user