From 113c18b4f5dc86d322992a51f7505a58e7ed217c Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Fri, 22 Mar 2024 17:01:59 +0100 Subject: [PATCH] Only display the contest on the submission page if it is not the currently selected contest. The page has **a lot** of information, so we should be removing duplicate info where we can. This was suggested by Michael. --- webapp/templates/jury/submission.html.twig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/webapp/templates/jury/submission.html.twig b/webapp/templates/jury/submission.html.twig index 8c72adfd54..e6e2bf741c 100644 --- a/webapp/templates/jury/submission.html.twig +++ b/webapp/templates/jury/submission.html.twig @@ -158,13 +158,15 @@ {% endif %} - - - - {{ submission.contest.shortname }} - {{ submission.contest | entityIdBadge('c') }} - - + {% if current_contest.cid != submission.contest.cid %} + + + + {{ submission.contest.shortname }} + {{ submission.contest | entityIdBadge('c') }} + + + {% endif %}