Skip to content

Commit cb99f6c

Browse files
committed
Hide "compilation output" button until we have any output to show.
1 parent 499c521 commit cb99f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/templates/jury/submission.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@
500500
<div class="card card-body output_text">{{ selectedJudging.compileMetadata }}</div>
501501
</div>
502502
{% endif %}
503-
{% if selectedJudging is not null and selectedJudging.result != 'compiler-error' %}
503+
{% if output and selectedJudging is not null and selectedJudging.result != 'compiler-error' %}
504504
<button class="btn btn-sm btn-outline-secondary" data-bs-toggle="collapse"
505505
data-bs-target="#detailcompile"
506506
aria-expanded="false">

0 commit comments

Comments
 (0)