{{ i18n.getMessage("next_match_block_title") }}

{% if match_date is defined %}

{{ env.getFormattedDatetime(match_date) }} | {{ i18n.getMessage("matchtype_" ~ match_type) }}

{{ match_home_name }} {% if match_home_formation_id %} {% else %} {% endif %} - {{ match_guest_name }} {% if match_guest_formation_id %} {% else %} {% endif %}

{{ i18n.getMessage("match_navlabel") }}

{{ i18n.getMessage("next_match_block_previous_matches") }}

{% if previous_matches is defined and previous_matches|length > 0 %} {% for previousMatch in previous_matches %} {% endfor %}
{{ previousMatch.home_team }} - {{ previousMatch.guest_team }} {{ previousMatch.home_goals }} - {{ previousMatch.guest_goals }}
{% else %}

{{ i18n.getMessage("next_match_block_no_previous_matches") }}

{% endif %}
{% else %}

{{ i18n.getMessage("next_match_block_no_nextmatch") }}

{% endif %} {% block nextmatch_footer %} {% endblock %}