core&ui: support /record?all=1

This commit is contained in:
undefined committed 2023-11-30 05:58:31 +08:00
1 parent 0f610148a0
commit 7d9cc2ae3b
3 files changed
+26 -14

No files matched your search

@@ -2,7 +2,7 @@
{% import "components/problem.html" as problem with context %}
<tr data-rid="{{ rdoc['_id'] }}">
{% set _isPretest = rdoc.contest and rdoc.contest.toString() == '000000000000000000000000' %}
{{ record.render_status_td(rdoc, allDomain = all) }}
{{ record.render_status_td(rdoc, allDomain = allDomain) }}
<td class="col--problem col--problem-name">
{% if handler.user.hasPerm(perm.PERM_REJUDGE) and not rdoc.files.hack and not _isPretest %}
<form class="form--inline" method="post" action="{{ url('record_detail', rid=rdoc._id, domainId=rdoc.domainId) }}">