From 6df8ee8eb7986bdc2d3fc149d0c5b1e3937485c8 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sun, 9 Dec 2018 20:01:53 +0100 Subject: [PATCH] Avoid too much useless precision when displaying scores --- dashboard/static/index.html | 2 +- frontend/static/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/static/index.html b/dashboard/static/index.html index a25baf85..2cef2e66 100644 --- a/dashboard/static/index.html +++ b/dashboard/static/index.html @@ -167,7 +167,7 @@ {{ r.rank }}ere {{ r.name }} - {{ r.score }} + {{ r.score | number:0 }} diff --git a/frontend/static/index.html b/frontend/static/index.html index 30520ce1..6fb3e99f 100644 --- a/frontend/static/index.html +++ b/frontend/static/index.html @@ -104,7 +104,7 @@ - {{ my.score }} points – {{ teams[my.team_id].rank }}e sur {{ teams_count }} + {{ my.score | number }} points – {{ teams[my.team_id].rank }}e sur {{ teams_count }}

{{ my.name }}