Move online registration block inside custom animation check

mailing
Razmig Sarkissian 2 months ago
parent 289e8e8e8c
commit 26b7aea651
  1. 4
      tournaments/templates/tournaments/tournament_info.html

@ -238,9 +238,9 @@
</ul> </ul>
</p> </p>
{% endif %} {% endif %}
{% if not tournament.is_custom_animation %}
{% with status=tournament.get_online_registration_status %} {% with status=tournament.get_online_registration_status %}
{% if tournament.enable_online_registration %} {% if tournament.enable_online_registration %}
{% if not tournament.is_custom_animation %}
<p> <p>
<div class="semibold">Inscription en ligne</div> <div class="semibold">Inscription en ligne</div>
@ -269,6 +269,7 @@
</div> </div>
</p> </p>
{% endif %} {% endif %}
{% endif %}
{% if status.display_register_option and team is None %} {% if status.display_register_option and team is None %}
{% if tournament.account_is_required is False or user.is_authenticated and user.is_active %} {% if tournament.account_is_required is False or user.is_authenticated and user.is_active %}
@ -308,7 +309,6 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endwith %} {% endwith %}
{% endif %}
</div> </div>
</div> </div>
<!-- Sponsors Section --> <!-- Sponsors Section -->

Loading…
Cancel
Save