Skip to content

Commit

Permalink
Hide "compilation output" button until we have any output to show.
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Nov 17, 2024
1 parent cd74bb3 commit 3ed7e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/templates/jury/submission.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@
<div class="card card-body output_text">{{ selectedJudging.compileMetadata }}</div>
</div>
{% endif %}
{% if selectedJudging is not null and selectedJudging.result != 'compiler-error' %}
{% if output and selectedJudging is not null and selectedJudging.result != 'compiler-error' %}
<button class="btn btn-sm btn-outline-secondary" data-bs-toggle="collapse"
data-bs-target="#detailcompile"
aria-expanded="false">
Expand Down

0 comments on commit 3ed7e21

Please sign in to comment.