{% extends team.id+'/base.html' %} {% block title %}Fixture{% endblock %} {% block description %}Full season schedule. Planning for league and pre-season matches.{% endblock %} {% block content %}

Matches

Full season schedule


{% for match in team.calendar_matches %} {% set card_bg = "bg-light-subtle opacity-75" if not match.is_match_pending() else "bg-light-subtle" %} {% set badge_color = "bg-primary" if match.is_current_week() else ("bg-secondary" if not match.is_match_pending() else "bg-warning") %} {% set status_text = "THIS WEEK" if match.is_current_week() else ("PLAYED" if not match.is_match_pending() else "UPCOMING") %}
Group {{ team.group }} Week {{ match.week }}
{{ match.play_match.split(" - ")[0] }}
{{ match.datetime_match|format_date('%d-%m-%Y') }}
{{ match.datetime_match|format_date('%H:%M') }}
VS
{{ status_text }}
{{ match.play_match.split(" - ")[1] }}
{% endfor %}
{% endblock %}