diff --git a/templates/submission/status-testcases.html b/templates/submission/status-testcases.html index b5a92cd..835ec95 100644 --- a/templates/submission/status-testcases.html +++ b/templates/submission/status-testcases.html @@ -70,7 +70,7 @@ {{submission.long_status}} {{_('Point: ')}} - {{ submission.case_points|floatformat(2) }}/{{ submission.case_total|floatformat(0) }} + {{ submission.case_points|roundfloat(2)|floatformat }}/{{ submission.case_total|floatformat(0) }} @@ -108,7 +108,7 @@ {{_('Point')}}: - {{ _('%(points)s/%(total)s', points=batch.points|floatformat(2), total=batch.total|floatformat(0)) }} + {{ _('%(points)s/%(total)s', points=case.points|roundfloat(2)|floatformat, total=batch.total|floatformat(0)) }} @@ -136,7 +136,7 @@ {{_('Point')}}: - {{ case.points|floatformat(2) }}/{{ case.total|floatformat }} + {{ case.points|roundfloat(2)|floatformat }}/{{ case.total|floatformat }} {%- if case.status != 'SC' -%}