From 496f362e218bcb62db811ecbe55f4ae480cb0cd8 Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Sun, 2 Mar 2025 16:36:13 +0000 Subject: [PATCH] Only display affected judgings if there is more than one. If there is only one, it already is the "related" judging. --- webapp/templates/jury/internal_error.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/templates/jury/internal_error.html.twig b/webapp/templates/jury/internal_error.html.twig index d380ebb89e..4565c5c751 100644 --- a/webapp/templates/jury/internal_error.html.twig +++ b/webapp/templates/jury/internal_error.html.twig @@ -72,9 +72,9 @@ {% endif %} - {% if internalError.affectedJudgings is not null %} + {% if internalError.affectedJudgings is not null and internalError.affectedJudgings | length > 1 %} - Additional affected judgings + All affected judgings