{% load debate_tags i18n %}

{% if tournament.current_rounds|length == 1 %} {% blocktrans trimmed with round=current_round.name %} In This Round ({{ round }}) {% endblocktrans %} {% else %} {% trans "In This Round" %} {% endif %} {% if admin_page and not draw_released %} {% trans "(Not Released to Public)" %} {% endif %}

{% haspermission "view.debate" as draw_perm %} {% if admin_page and draw_perm or draw_released %} {% trans "Room TBA" as venue_tba %} {% if debateadjudications != None %} {% for debateadjudicator in debateadjudications %} {% with debate=debateadjudicator.debate %} {% include "current_round/round_adj.html" %} {% endwith %} {% empty %}
{% if grammatical_person == "3" %} {% person_display_name adjudicator as adjudicator_name %} {% blocktrans trimmed with adjudicator=adjudicator_name %} {{ adjudicator }} is not adjudicating this round. {% endblocktrans %} {% else %} {% blocktrans trimmed %} You are not adjudicating this round. {% endblocktrans %} {% endif %}
{% endfor %} {% elif debateteams != None %} {% if team %} {% team_name_for_display team as team_name %} {% else %} {% team_name_for_display object.speaker.team as team_name %} {% endif %} {% if debateteams|length > 1 and debateteams|any_dts_different_round %}
{# This is never in the singular, it's just needed to make pluralization work with i18n. #} {% if grammatical_person == "3" %} {% blocktrans trimmed with team=team_name count ndebates=debateteams|length %} It looks like {{ team }} is competing in {{ ndebates }} debate this round. {% plural %} It looks like {{ team }} is competing in {{ ndebates }} debates this round. {% endblocktrans %} {% else %} {% blocktrans trimmed with team=team_name count ndebates=debateteams|length %} It looks like you are competing in {{ ndebates }} debate this round. {% plural %} It looks like you are competing in {{ ndebates }} debates this round. {% endblocktrans %} {% endif %} {% if not admin_page %} {% trans "If this is an error, please contact a tab director immediately." %} {% endif %}
{% endif %} {% for debateteam in debateteams %} {% with debate=debateteam.debate %} {% include "current_round/round_team.html" %} {% endwith %} {% empty %}
{% if grammatical_person == "3" %} {% blocktrans trimmed with team=team_name %} {{ team }} does not have a debate this round. {% endblocktrans %} {% else %} {% blocktrans trimmed %} You do not have a debate this round. {% endblocktrans %} {% endif %}
{% endfor %} {% endif %} {% else %} {# elif not (draw_released or admin_page) #}
{% trans "The draw for this round hasn't yet been released." %}
{% endif %} {# draw_released or admin_page #}