From 53302db56a5331ccccdfaeaf1404add8e31b10b3 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Wed, 17 Apr 2024 00:43:42 +0200 Subject: [PATCH] Display mentions only after the reveal of the notes of the second round Signed-off-by: Emmy D'Anello --- .../templates/participation/tournament_detail.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/participation/templates/participation/tournament_detail.html b/participation/templates/participation/tournament_detail.html index 88d22a8..83816f0 100644 --- a/participation/templates/participation/tournament_detail.html +++ b/participation/templates/participation/tournament_detail.html @@ -105,12 +105,14 @@ {% for participation, note in notes %}
  • {{ participation.team }} : {{ note|floatformat }} - {% if not tournament.final and participation.mention %} - — {{ participation.mention }} - {% endif %} - {% if tournament.final and participation.mention_final %} - — {{ participation.mention_final }} - {% endif %} + {% if available_notes_2 %} + {% if not tournament.final and participation.mention %} + — {{ participation.mention }} + {% endif %} + {% if tournament.final and participation.mention_final %} + — {{ participation.mention_final }} + {% endif %} + {% endif %} {% if participation.final %}