{% extends "core/stats.html" %}
{% load coretags %}
{% block selectedTab1 %} class="tabs-selected"{% endblock %}
{% block section %}Stats{% endblock %}
{% block title %}Summary{% endblock %}
{% block content %}
Team Statistics
{% if not stats %}
Please select a division to sort by.
{% else %}
{% for club in clubs %}
{% ifnotequal division_filter.0|listBuild:level_filter.0|addClub:club_filter.0|teamCount:club.id 0 %}
{{ club.name }}
{% comment %}
div: {{ division_filter.0 }} - lev: {{ level_filter.0 }}
{% endcomment %}
{% comment %}
listBuild: {{ division_filter.0|listBuild:level_filter.0 }}
teamCount: {{ club.id|teamCount:division_filter.0|listBuild:level_filter.0 }}
{% endcomment %}
Team |
Level |
GP |
Wins |
Losses |
Ties |
{% for team in stats %}
{% ifequal club team.teamClub %}
{{ team.teamName }} |
{{ team.teamLevel }} |
{{ team.gamesPlayed }} |
{{ team.wins }} |
{{ team.losses }} |
{{ team.ties }} |
{% endifequal %}
{% endfor %}
{% endifnotequal %}
{% endfor %}
{% endif %}
{% endblock %}