From 3ed7e21582321182fe067f7361ba52300251a16d Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Sun, 17 Nov 2024 11:32:44 +0100 Subject: [PATCH] Hide "compilation output" button until we have any output to show. --- webapp/templates/jury/submission.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/templates/jury/submission.html.twig b/webapp/templates/jury/submission.html.twig index 0970666369..6232830d8f 100644 --- a/webapp/templates/jury/submission.html.twig +++ b/webapp/templates/jury/submission.html.twig @@ -500,7 +500,7 @@
{{ selectedJudging.compileMetadata }}
{% endif %} - {% if selectedJudging is not null and selectedJudging.result != 'compiler-error' %} + {% if output and selectedJudging is not null and selectedJudging.result != 'compiler-error' %}