Fix 5-teams pools passages
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
b24201c529
commit
91a1837c99
|
@ -378,11 +378,11 @@ class Pool(models.Model):
|
||||||
]
|
]
|
||||||
elif self.size == 5:
|
elif self.size == 5:
|
||||||
table = [
|
table = [
|
||||||
[0, 3, 2],
|
[0, 2, 3],
|
||||||
[1, 4, 3],
|
[1, 3, 4],
|
||||||
[2, 0, 4],
|
[4, 0, 2],
|
||||||
[3, 1, 0],
|
[3, 0, 1],
|
||||||
[4, 2, 1],
|
[4, 1, 2],
|
||||||
]
|
]
|
||||||
|
|
||||||
for i, line in enumerate(table):
|
for i, line in enumerate(table):
|
||||||
|
|
|
@ -308,10 +308,9 @@
|
||||||
{% elif forloop.counter == 5 %}
|
{% elif forloop.counter == 5 %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="text-center">Rap</td>
|
<td class="text-center">Rap</td>
|
||||||
<td>Opp</td>
|
<td class="text-center">Opp</td>
|
||||||
<td class="text-center"></td>
|
|
||||||
<td class="text-center">Déf</td>
|
|
||||||
<td></td>
|
<td></td>
|
||||||
|
<td class="text-center">Déf</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue