From 26b7aea6513dfba9afbd4732acc6bba073fb2bd0 Mon Sep 17 00:00:00 2001
From: Razmig Sarkissian
Date: Sun, 21 Sep 2025 19:49:02 +0200
Subject: [PATCH] Move online registration block inside custom animation check
---
tournaments/templates/tournaments/tournament_info.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tournaments/templates/tournaments/tournament_info.html b/tournaments/templates/tournaments/tournament_info.html
index 30b15f5..35360ae 100644
--- a/tournaments/templates/tournaments/tournament_info.html
+++ b/tournaments/templates/tournaments/tournament_info.html
@@ -238,9 +238,9 @@
{% endif %}
- {% if not tournament.is_custom_animation %}
{% with status=tournament.get_online_registration_status %}
{% if tournament.enable_online_registration %}
+ {% if not tournament.is_custom_animation %}
Inscription en ligne
@@ -268,6 +268,7 @@
{{ status.status_localized }}
+ {% endif %}
{% endif %}
{% if status.display_register_option and team is None %}
@@ -308,7 +309,6 @@
{% endif %}
{% endif %}
{% endwith %}
- {% endif %}