1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 17:42:23 +00:00

Fix 5-teams pools passages

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-17 21:56:46 +02:00
parent b24201c529
commit 91a1837c99
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 7 additions and 8 deletions

View File

@ -378,11 +378,11 @@ class Pool(models.Model):
]
elif self.size == 5:
table = [
[0, 3, 2],
[1, 4, 3],
[2, 0, 4],
[3, 1, 0],
[4, 2, 1],
[0, 2, 3],
[1, 3, 4],
[4, 0, 2],
[3, 0, 1],
[4, 1, 2],
]
for i, line in enumerate(table):

View File

@ -308,10 +308,9 @@
{% elif forloop.counter == 5 %}
<td></td>
<td class="text-center">Rap</td>
<td>Opp</td>
<td class="text-center"></td>
<td class="text-center">Déf</td>
<td class="text-center">Opp</td>
<td></td>
<td class="text-center">Déf</td>
{% endif %}
{% endif %}
</tr>