{% extends "wlggz/base.html" %} {% load i18n %} {% block content %} {% load custom_date %} {% load wlprofile_extras %} {% include "django_messages/inlines/navigation.html" %}

{% if ggzauth.user %}

{% trans "GGZ results for" %} {{ ggzauth.user.username }}

Last ggz login: {{ ggzauth.lastlogin }}
Ranking: {{ ggzstats.ranking }}
Rating: {{ ggzstats.rating|floatformat }}
wins: {{ ggzstats.wins }}
losses: {{ ggzstats.losses }}


Last 10 matches of {{ ggzauth.user.username }}

{% if ggzmatches %} {% for match in ggzmatches %} {% endfor %}
Date Winner Participants
{{ match.match.date_date }} {% if match.match.winner %} {{ match.match.winner_as_userlink }} {% endif %} {% for player in match.match.wlggz_matchplayers.all %} {{ player.handle_as_userlink }} {% endfor %}
{% else %}

User has not participated in any matches

{% endif %}


Last 10 matches {{ ggzauth.user.username }} won

{% if ggzwonmatches %} {% for match in ggzwonmatches %} {% endfor %}
Date Winner Participants
{{ match.date_date }} {{ match.winner_as_userlink }} {% for player in match.wlggz_matchplayers.all %} {{ player.handle_as_userlink }} {% endfor %}
{% else %}

User has won no matches

{% endif %}
{% else %}

{% trans "GGZ results for" %} {{ ggzauth.user.username }}


User does not exist or has no ggz account

{% endif %} {% endblock %}