{% extends "base.html" %} {% load debate_tags %} {% load add_field_css i18n %} {% block page-subnav-sections %} {% if current_round %} {% trans "Back to Configuration" %} {% endif %} {% endblock %} {% block body-class %}{% if current_round is None %}override-sidebar-offset{% endif %}{% endblock %} {% block sidebar %} {# Don't show the sidebar if there's no current round, because it'll crash. #} {% if current_round %} {{ block.super }} {% endif %} {% endblock %} {% block content %} {% if next %}
{% blocktrans trimmed with tournament=tournament.name %} No round is currently set. In order for TAB DEBAT MALAYSIA to work, please set the current round of the tournament {{ tournament }}. {% endblocktrans %}
{% else %}
{% blocktrans trimmed with tournament=tournament.name %} On this page, you can set the current round of the tournament {{ tournament }}. {% endblocktrans %}
{% endif %} {% if not tournament.round_set.exists %}
{% url 'admin:tournaments_round_changelist' as round_changelist_url %} {% blocktrans trimmed with tournament=tournament.name %} The tournament {{ tournament }} has no rounds. You'll need to add rounds and associate them with this tournament before you can set the current round. {% endblocktrans %}
{% endif %}
{% csrf_token %} {% include 'components/form-main.html' %} {% trans "Set Current Rounds" context "button" as title %} {% include "components/form-submit.html" %}
{% endblock %} {% block js %} {{ block.super }} {% endblock %}