{% import "macros/messagebox.twig" as messagebox %} {% import "macros/paginator.twig" as pagination %} {% if matches is defined and matches|length > 0 %} {% for match in matches %} {% endfor %}
{{ i18n.getMessage("entity_match_datum") }} {{ i18n.getMessage("entity_match_home_verein") }} {{ i18n.getMessage("entity_match_gast_verein") }} {{ i18n.getMessage("match_result") }}
{% if match.type == "Ligaspiel" %} {% elseif match.type == "Freundschaft" %} {% else %} {% endif %} {{ env.getFormattedDatetime(match.date, i18n) }} {% if match.home_team_picture|length %} {% endif %} {{ match.home_team }} {% if match.home_noformation %} {% endif %} {% if match.home_user_id > 0 %}
{% if match.home_user_picture|length > 0 %} {% endif %} {{ match.home_user_nick }} {% endif %}
{% if match.guest_team_picture|length %} {% endif %} {{ match.guest_team }} {% if match.guest_noformation %} {% endif %} {% if match.guest_user_id > 0 %}
{% if match.guest_user_picture|length > 0 %} {% endif %} {{ match.guest_user_nick }} {% endif %}
{% if match.simulated == 1 %} {{ match.home_goals }} - {{ match.guest_goals }} {% elseif match.minutes > 0 %} {{ match.home_goals }} - {{ match.guest_goals }} {% else %} {{ i18n.getMessage("match_navlabel") }} {% endif %}
{% if paginator is defined and paginator is not null %} {{ pagination.paginator(paginator) }} {% endif %} {% else %} {{ messagebox.box(i18n.getMessage("results_no_matches_found"), "", "info") }} {% endif %}