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