From c36884846d6d39fa90e9e23f20ce2ce487935f62 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 24 Nov 2023 03:21:48 -0600 Subject: [PATCH] Hide check status in problem detail for hidden subtask --- templates/problem/problem.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/problem/problem.html b/templates/problem/problem.html index 9fb3444..a55a8a2 100644 --- a/templates/problem/problem.html +++ b/templates/problem/problem.html @@ -1,4 +1,7 @@ {% extends "common-content.html" %} + +{% set has_hidden_subtasks = request.in_contest_mode and request.participation.contest.format.has_hidden_subtasks %} + {% block content_media %} {% include "comments/media-css.html" %}