%inherit file="base.mako"/> <%namespace file="scoreboard.mako" import="scoreboard" /> <%block name="title"> Game Index - ${parent.title()} %block> % if not games:
${map.name} on ${server.name} (permalink for this game) ## show scoreboard using a def from another file ${scoreboard(game.game_type_cd, pgstats[game.game_id])} % endfor % endif % if games.previous_page: Previous % endif % if games.next_page: Next % endif