%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> <%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> ${nav.nav('games')} %block> <%block name="title"> Recent Games %block> % if not games:
Type | Server | Map | Result | Played | Elo | |
---|---|---|---|---|---|---|
view | ${rg.server_name} | ${rg.map_name} | % if rg.team != None: % if rg.team == rg.winner: Win % else: Loss % endif % else: % if rg.rank == 1: Win % else: Loss (#${rg.rank}) % endif % endif | ${rg.fuzzy_date} | % if rg.elo_delta is not None: % if round(rg.elo_delta,2) > 0: +${round(rg.elo_delta,2)} % elif round(rg.elo_delta,2) < 0: ${round(rg.elo_delta,2)} % else: % endif % else: % endif |