Browse Source

Fix affichage alcool ingéré

Arrondi à 2 décimale (ou moins si pas besoin) la quantité d'alcool
ingérée sur le profil. Close #8.
pull/4/head
Yoann Piétri 7 years ago
parent
commit
02677cdf1a
  1. 2
      users/templates/users/profile.html

2
users/templates/users/profile.html

@ -42,7 +42,7 @@
<li><b>Groupe(s) : </b>{{user.groups.all|join:", "}}</li>
<li>
<b>Position au classement : </b>{{user.profile.rank}}<span class="tabulation">
<b>Quantité d'alcool ingérée : </b>{{user.profile.alcohol}} kg</span>
<b>Quantité d'alcool ingérée : </b>{{user.profile.alcohol | floatformat:"-2"}} kg</span>
</li>
</ul>
</div>

Loading…
Cancel
Save