1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-01 18:01:19 +02:00

Don't display ranking in notation ODS when there are 5 teams

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-19 18:30:59 +02:00
parent 0845d0bfb6
commit 86e978faf2
3 changed files with 68 additions and 56 deletions

View File

@ -1080,7 +1080,7 @@ class Pool(models.Model):
coeffs = sum(([1, 1.6 - 0.4 * passage.defender_penalties, 0.9, 2, 0.9, 1] for passage in passages),
start=["Coefficient", ""])
subtotal = ["Sous-total", ""]
footer = [average, coeffs, subtotal, 32 * [""]]
footer = [average, coeffs, subtotal, 26 * [""]]
min_row = 5
max_row = min_row + self.juries.count()