forcer l'affichage des nombre un jusqu'a un chiffre apres la virgule
CI - Security, Lint & Tests / validate (push) Canceled after 0s

This commit is contained in:
cedrick2711
2026-09-09 13:54:51 -04:00
parent 32c112ceea
commit a9b33b30f5
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -58,7 +58,7 @@
{{ entry.player.username }}
</a>
</td>
<td><span class="score">{{ entry.avg if entry.avg is not none else '-' }}</span></td>
<td><span class="score">{{ entry.avg | round(1) if entry.avg is not none else '-' }}</span></td>
<td>{{ entry.count }}</td>
<td>
<a href="{{ url_for('evaluations.player_evaluations', player_id=entry.player.id) }}" class="btn btn-sm btn-outline" title="{{ _('Open player view') }}">
@@ -90,7 +90,7 @@
{% for score in ev.scores %}
<td>{{ score if score is not none else '-' }}</td>
{% endfor %}
<td><span class="score">{{ ev.overall if ev.overall is not none else '-' }}</span></td>
<td><span class="score">{{ ev.overall | round(1) if ev.overall is not none else '-' }}</span></td>
<td>{{ ev.position or '-' }}</td>
<td>{{ ev.date.strftime('%m/%d/%Y') if ev.date else '-' }}</td>
</tr>