Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Show only one decimal place for weight in index page

Roland Geider49ef0df31a9b
diff --git a/manager/templates/index.html b/manager/templates/index.html
index 42bef09e7..a534145e0 100644
--- a/manager/templates/index.html
+++ b/manager/templates/index.html
@@ -82,7 +82,7 @@
{% endif %}
{% if weight %}
<p>
- {% trans "Your current weight is: "%} <strong>{{weight.weight}} kg.</strong>
+ {% trans "Your current weight is: "%} <strong>{{weight.weight|floatformat}} kg.</strong>
</p>
{% endif %}
</div>