Use Django's floatformat on today's feeding total

This commit is contained in:
Brian O'Connor 2023-02-07 14:16:53 -05:00 committed by Christopher Charbonneau Wells
parent 1f5ec91d54
commit c1f788bb49
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<div class="carousel-item{% if forloop.counter == 1 %} active{% endif %}"> <div class="carousel-item{% if forloop.counter == 1 %} active{% endif %}">
<div class="last-feeding-method text-center"> <div class="last-feeding-method text-center">
{% if feeding.total %} {% if feeding.total %}
{{ feeding.total }} {{ feeding.total|floatformat }}
{% else %} {% else %}
{% trans "None" %} {% trans "None" %}
{% endif %} {% endif %}