mirror of https://github.com/snachodog/mybuddy.git
Use Django's floatformat on today's feeding total
This commit is contained in:
parent
1f5ec91d54
commit
c1f788bb49
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue