{% extends "base.html" %}
{% block title %}{{ name }} — Solitaire Hockey{% endblock %}
{% block content %}
{{ name }}
{% set is_skater = data.career and data.career.gp %}
{% set is_goalie = data.goalie_seasons|length > 0 %}
{% if is_skater %}
Career Totals
{{ data.career.assists }}
A
{{ data.career.points }}
PTS
{{ data.career.pp_goals }}
PPG
{{ data.career.sh_goals }}
SHG
{% if data.seasons %}
Season by Season
| Season |
Team |
GP |
G |
A |
PTS |
SOG |
S% |
PPG |
SHG |
PIM |
{% for s in data.seasons %}
{% set team_key = s.team_tricode + '_' + s.season %}
| {{ s.season[:4] }}-{{ s.season[4:] }} |
{{ s.team_tricode }} |
{{ s.gp }} |
{{ s.goals }} |
{{ s.assists }} |
{{ s.points }} |
{{ s.shots }} |
{{ s.shoot_pct }}% |
{{ s.pp_goals }} |
{{ s.sh_goals }} |
{{ s.pim }} |
{% endfor %}
{% endif %}
{% if data.game_log %}
Game Log
| Date |
Season |
Team |
H/A |
Opp |
Score |
Result |
G |
A |
PTS |
SOG |
PIM |
{% for g in data.game_log %}
{% set team_key = g.team_tricode + '_' + g.season %}
| {{ g.game_date }} |
{{ g.season[:4] }}-{{ g.season[4:] }} |
{{ g.team_tricode }} |
{{ g.ha }} |
{{ g.opponent }} |
{{ g.score }} |
{{ g.result }}
|
{{ g.goals }} |
{{ g.assists }} |
{{ g.points }} |
{{ g.shots }} |
{{ g.pim }} |
{% endfor %}
{% endif %}
{% endif %}
{% if is_goalie %}
{% if is_skater %}Goaltending{% else %}Career Totals{% endif %}
| Season |
Team |
GP |
W |
L |
T |
SA |
GA |
GAA |
SV% |
{% for s in data.goalie_seasons %}
{% set team_key = s.team_tricode + '_' + s.season %}
| {{ s.season[:4] }}-{{ s.season[4:] }} |
{{ s.team_tricode }} |
{{ s.gp }} |
{{ s.wins }} |
{{ s.losses }} |
{{ s.ties }} |
{{ s.sa }} |
{{ s.ga }} |
{{ "%.2f"|format(s.gaa) if s.gaa else '—' }} |
{{ "%.3f"|format(s.sv_pct) if s.sv_pct else '—' }}
|
{% endfor %}
{% if data.goalie_log %}
Goalie Game Log
| Date |
Season |
Team |
H/A |
Opp |
Score |
Dec |
SA |
GA |
GAA |
SV% |
{% for g in data.goalie_log %}
{% set team_key = g.team_tricode + '_' + g.season %}
| {{ g.game_date }} |
{{ g.season[:4] }}-{{ g.season[4:] }} |
{{ g.team_tricode }} |
{{ g.ha }} |
{{ g.opponent }} |
{{ g.score }} |
{{ g.decision or '—' }}
|
{{ g.sa }} |
{{ g.ga }} |
{{ "%.2f"|format(g.gaa) if g.gaa else '—' }} |
{{ "%.3f"|format(g.sv_pct) if g.sv_pct else '—' }}
|
{% endfor %}
{% endif %}
{% endif %}
{% if not is_skater and not is_goalie %}
No stats recorded for this player yet.
{% endif %}
{% endblock %}