Skip to content

Commit

Permalink
Add green success matches if the expected result matches.
Browse files Browse the repository at this point in the history
This is useful, if after problem import you have a mix of submissions
with and without expected result and you want to be able to distinguish
them, e.g. when going from the statistics page to the submission.
  • Loading branch information
meisterT committed Nov 25, 2023
1 parent d74c94f commit b76b47b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webapp/templates/jury/submission.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
{% if not loop.last %}or{% endif %}
{% endfor %}.
</div>
{% else %}
<div class="alert alert-success">
Actual result matches the expected result ({{ selectedJudging.result | printValidJuryResult }}).
</div>
{% endif %}
{% endif %}

Expand Down

0 comments on commit b76b47b

Please sign in to comment.