From 126ed83ee535087efbc1e117a6364fe7e395f115 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 24 Nov 2023 03:47:08 -0600 Subject: [PATCH] Don't update submissions for hidden sub contests --- templates/submission/list.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/submission/list.html b/templates/submission/list.html index 3fc0d60..53e63ce 100644 --- a/templates/submission/list.html +++ b/templates/submission/list.html @@ -1,4 +1,7 @@ {% extends "three-column-content.html" %} + +{% set has_hidden_subtasks = request.in_contest_mode and request.participation.contest.format.has_hidden_subtasks %} + {% block three_col_js %} {% endcompress %} - {% if dynamic_update and last_msg %} + {% if dynamic_update and last_msg and not has_hidden_subtasks %}