From 5200a7c2aded831cd882ce15a12d26fa25678446 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Thu, 16 Mar 2023 14:56:27 -0500 Subject: [PATCH] Revert prev commits --- templates/submission/status-testcases.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' -%}