Self hosted FLOSS fitness/workout, nutrition and weight tracker
Show only one decimal place for values in nutrition plan in index page
Roland Geider8564ff2880be
diff --git a/manager/templates/index.html b/manager/templates/index.htmlindex cf69f297b..42bef09e7 100644--- a/manager/templates/index.html+++ b/manager/templates/index.html@@ -65,13 +65,13 @@{% trans "Energy" %}: {{nutritional_info.energy}} kcal</li><li>- {% trans "Protein" %}: {{nutritional_info.protein}} g+ {% trans "Protein" %}: {{nutritional_info.protein|floatformat}} g</li><li>- {% trans "Carbohydrates" %}: {{nutritional_info.carbohydrates}} g+ {% trans "Carbohydrates" %}: {{nutritional_info.carbohydrates|floatformat}} g</li><li>- {% trans "Fat" %}: {{nutritional_info.fat}} g+ {% trans "Fat" %}: {{nutritional_info.fat|floatformat}} g</li></ul>