mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-24 04:13:12 +00:00
fix: Limit user monthly emissions decimal places
This commit is contained in:
parent
a789640bec
commit
59d18bc2d7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
{% elif monthly_emissions is None %}
|
{% elif monthly_emissions is None %}
|
||||||
<td>{% trans "Unavailable" %}</td>
|
<td>{% trans "Unavailable" %}</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td>{{ monthly_emissions }} {% trans "kgCO₂e/month" %}</td>
|
<td>{{ monthly_emissions|floatformat:2 }} {% trans "kgCO₂e/month" %}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<td><a target="_blank" rel="noreferrer noopener" href="https://www.ademe.fr/expertises/consommer-autrement/passer-a-laction/reconnaitre-produit-plus-respectueux-lenvironnement/dossier/laffichage-environnemental/affichage-environnemental-secteur-numerique">{% trans "[Learn more]" %}</a></td>
|
<td><a target="_blank" rel="noreferrer noopener" href="https://www.ademe.fr/expertises/consommer-autrement/passer-a-laction/reconnaitre-produit-plus-respectueux-lenvironnement/dossier/laffichage-environnemental/affichage-environnemental-secteur-numerique">{% trans "[Learn more]" %}</a></td>
|
||||||
|
|
Loading…
Reference in a new issue