{% import "macros/messagebox.twig" as messagebox %} {% block table_header %} {% endblock %} {% if teams is defined and teams|length > 0 %}
{{ i18n.getMessage("leaguetable_head_place_abbr") }} | {{ i18n.getMessage("leaguetable_head_club") }} | {{ i18n.getMessage("leaguetable_head_matches_abbr") }} | {{ i18n.getMessage("leaguetable_head_wins_abbr") }} | {{ i18n.getMessage("leaguetable_head_draws_abbr") }} | {{ i18n.getMessage("leaguetable_head_defeats_abbr") }} | {{ i18n.getMessage("leaguetable_head_goals") }} | {{ i18n.getMessage("leaguetable_head_goalsdiff_abbr") }} | {{ i18n.getMessage("leaguetable_head_score") }} |
---|---|---|---|---|---|---|---|---|
0 %}
{% for marker in markers if marker.place_from <= place and marker.place_to >= place %}
{% set markerTitle = marker.name %}
{% if i18n.hasMessage(markerTitle) %}
{% set markerTitle = i18n.getMessage(markerTitle) %}
{% endif %}
style="background-color: {{ marker.color }}"
{% endfor %}
{% endif %}>{% if markerTitle|length > 0 %} {% endif %}{{ place }}{% if markerTitle|length > 0 %} {% endif %} |
{% if (env.getUser().id > 0 and team.user_id == env.getUser().id) %}{% endif %}
{% if team.picture|length %}
{% if team.user_picture|length > 0 %} |
{{ team.matches }} | {{ team.wins }} | {{ team.draws }} | {{ team.defeats }} | {{ team.goals }}:{{ team.goals_received }} | {{ team.goals_diff }} | {{ team.score }} {% if team.previous_rank is defined and team.previous_rank > 0 %} {% if team.previous_rank < place %} {% elseif team.previous_rank > place %} {% else %} {% endif %} {% endif %} |
{{ markerTitle }} |