]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/game_info.mako
Remove redundant code for scoreboard display, add proper percentages to the accuracy...
[xonotic/xonstat.git] / xonstat / templates / game_info.mako
1 <%inherit file="base.mako"/>
2 <%namespace file="scoreboard.mako" import="scoreboard" />
3
4 <%block name="title">
5 Game Information - ${parent.title()}
6 </%block>
7
8
9 % if game is None:
10 <h2>Sorry, that game wasn't found!</h2>
11
12 % else:
13 <h2>Game Detail</h2>
14 <p>
15 Played on: ${start_dt.strftime('%m/%d/%Y at %I:%M %p')}<br />
16 Game Type: ${game_type_cd}<br />
17 Server: <a href="${request.route_url("server_info", id=server_id)}" name="Server info page for ${server_name}">${server_name}</a><br />
18 Map: <a href="${request.route_url("map_info", id=map_id)}" name="Map info page for ${map_name}">${map_name}</a><br />
19 </p>
20
21 <h2>Scoreboard</h2>
22 ${scoreboard(game_type_cd, player_game_stats)}
23 % endif