{% extends "tournamentcontrol/competition/base.html" %} {% load i18n %} {% load common competition %} {% block body_class %}{{ block.super }} team{% endblock %} {% block page_title %}{% trans competition.title %} - {% trans season.title %} - {% trans division.title %} - {% trans team.title %}{% endblock %} {% block content %} {% trans "TBA" as tba context "abbreviation: to be advised" %} {% trans "TBC" as tbc context "abbreviation: to be confirmed" %} {% block calendar %} {% url application.name|add:":calendar" competition=competition.slug season=season.slug division=division.slug team=team.slug as url1 %} {% url application.name|add:":calendar" season=season.slug division=division.slug team=team.slug as url2 %} {% url application.name|add:":calendar" division=division.slug team=team.slug as url3 %} 📅 {% endblock %} {% block heading %}

{% trans competition.title %} - {% trans season.title %}

{% trans division.title %}

{% trans team.title %}

{% endblock %} {% for date, matches in team.matches_by_date.items %} {% for match in matches %} {% with home=match.get_home_team away=match.get_away_team %} {% with match|opponent:team as opponent %} {% include "tournamentcontrol/competition/_team_opponent.html" %} {% endwith %} {% if match.statistics_count %} {% else %} {% endif %} {% endwith %} {% endfor %} {% endfor %}
{% trans "Date" %} {% trans "Time" %} {% trans "Venue" %} {% trans "Opponent" %} {% trans "Result" %}
{{ date }} {{ match.datetime|time|default:tba }} {{ match.play_at.title|default:tba }}{% score match team %} {% url application.name|add:":match" competition=competition.slug season=season.slug division=division.slug match=match.pk as url1 %} {% url application.name|add:":match" season=season.slug division=division.slug match=match.pk as url2 %} {% url application.name|add:":match" division=division.slug match=match.pk as url3 %} {% trans "Detail" %}
{% block statistics %} {% if players.count %}

{% trans "Player Statistics" %}

{% if not team.division.season.mvp_results_public|future %} {% for link in players %} {% with stats=link.statistics %} {% if not team.division.season.mvp_results_public|future %} {% endif %} {% endwith %} {% endfor %}
# {% trans "Players" %} {% trans "Played" %} {% trans "Scores" %}{% trans "MVP" context "abbreviation: most valuable player" %} {% endif %}
{{ link.number|default_if_none:"-" }} {{ link.person.first_name }} {{ link.person.last_name }}{{ stats.played|default:"-" }} {{ stats.points|default:"-" }}{{ stats.mvp|default:"-" }}
{% endif %} {% endblock %} {% block ladder %} {% for stage, pools in team.ladders.items %} {% if stage.ladder_summary.count %}
{% if stage.pools.count %} {% include "tournamentcontrol/competition/ladder/pool.html" %} {% else %} {% include "tournamentcontrol/competition/ladder/standard.html" %} {% endif %}
{% endif %} {% endfor %} {% endblock %} {% endblock %}