Skip to content
Snippets Groups Projects
Commit a5087a45 authored by Jan Hadrava's avatar Jan Hadrava
Browse files

Fix Group-worst feedback to CEOI 2024 rules

parent 2b8aaedb
Branches jh-test
No related tags found
No related merge requests found
......@@ -200,9 +200,9 @@ class ScoreTypeGroup(ScoreTypeAlone):
N_("Example subtask %(index)s")
N_("#")
N_("Outcome")
N_("Outcome (Worst case)")
N_("(Worst case)")
N_("Details")
N_("Details (First error)")
N_("(First error)")
N_("Execution time")
N_("Memory used")
N_("N/A")
......@@ -251,7 +251,7 @@ class ScoreTypeGroup(ScoreTypeAlone):
or (feedback_level == FEEDBACK_LEVEL_GROUP_WORST_RESTRICTED)
) %}
<th class="outcome">
{% trans %}Outcome (Worst case){% endtrans %}
{% trans %}Outcome{% endtrans %} {% trans %}(Worst case){% endtrans %}
</th>
{% if "score_fraction" not in st or st["score_fraction"] >= 1.0 %}
<th class="details">
......@@ -259,7 +259,7 @@ class ScoreTypeGroup(ScoreTypeAlone):
</th>
{% else %}
<th class="details">
{% trans %}Details (First error){% endtrans %}
{% trans %}Details{% endtrans %} {% trans %}(First error){% endtrans %}
</th>
{% endif %}
{% else %}
......@@ -305,7 +305,7 @@ class ScoreTypeGroup(ScoreTypeAlone):
(feedback_level == FEEDBACK_LEVEL_GROUP_WORST)
or (feedback_level == FEEDBACK_LEVEL_GROUP_WORST_RESTRICTED)
) %}
<td class="idx"></td>
<td class="idx">{{ loop.index }}</td>
{% else %}
<td class="idx">{{ loop.index }}</td>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment