diff --git a/packages/ui-default/templates/record_main_tr.html b/packages/ui-default/templates/record_main_tr.html index dbe315ce5..24d648e53 100644 --- a/packages/ui-default/templates/record_main_tr.html +++ b/packages/ui-default/templates/record_main_tr.html @@ -1,9 +1,10 @@ {% import "components/record.html" as record with context %} {% import "components/problem.html" as problem with context %} + {% set _isPretest = rdoc.contest and rdoc.contest.toString() == '000000000000000000000000' %} {{ record.render_status_td(rdoc, allDomain = all) }} - {% if handler.user.hasPerm(perm.PERM_REJUDGE) and not rdoc.files.hack %} + {% if handler.user.hasPerm(perm.PERM_REJUDGE) and not rdoc.files.hack and not _isPretest %}