Fix contest rescore bug

This commit is contained in:
anhkha2003 2024-10-02 20:27:49 -05:00
parent 3d67fb274e
commit 18d23c771a
9 changed files with 42 additions and 58 deletions

View file

@ -10,7 +10,6 @@
</div>
<div class="score">{{ breakdown.sub_points|floatformat(0) }} / {{ breakdown.sub_total|floatformat(0) }}</div>
<div class="language">{{ breakdown.sub_lang }}</div>
<span class="time">{{ relative_time(breakdown.sub_date) }}</span>
</div>
</div>
<div class="sub-pp sub-usage">
@ -19,7 +18,7 @@
</div>
<div class="pp-weighted">
{% trans weight=breakdown.weight|floatformat(0) %}
weighted <b>{{ weight }}%</b>
<b>{{ weight }}%</b>
{% endtrans %}
{% if breakdown.scaled_points < 10 %}