Implement score override

This commit is contained in:
2021-11-12 14:26:01 +01:00
parent 881b97218e
commit 94d8173f06
3 changed files with 38 additions and 4 deletions

View File

@ -24,7 +24,12 @@
</tr>
<tr>
{% for player in game.players.values() %}
<td>{{ player.score }}{% if player.score <= 0 %} ☠️ {% elif player.score >= 9 %} 9⃣ {% endif %}</td>
<td>
{{ player.score }}{% if player.score <= 0 %} ☠️ {% elif player.score >= 9 %} 9⃣ {% endif %}
{% if admin and player in game.score_overrides %}
<span class="badge bg-danger">Triche</span>
{% endif %}
</td>
{% endfor %}
</tr>
</tbody>