mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +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 %}
|
||||
#{{ String.fromCharCode(65+tdoc.pids.indexOf(pdoc.docId)) if tdoc else pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }}
|
||||
</h1>
|
||||
{% if tdoc %}
|
||||
{% if tdoc and tdoc.pids|length <= 26 %}
|
||||
<div class="section__tools contest-problems">
|
||||
{% for pid in tdoc.pids -%}
|
||||
{% set status = tsdoc.detail[pid].status %}
|
||||
|
||||
Reference in new issue
Block a user