]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/player_weapon_stats.mako
Use anchor links to the game info permapage to show player accuracy instead of dedica...
[xonotic/xonstat.git] / xonstat / templates / player_weapon_stats.mako
1 <%inherit file="base.mako"/>
2 <%namespace file="accuracy.mako" import="accuracy" />
3
4 <%block name="title">
5 Accuracy Information - ${parent.title()}
6 </%block>
7
8
9 % if weapon_stats is None or pgstat is None or game is None:
10 <h2>Sorry, I can't find those weapon stats!</h2>
11 <p>Assume the best, though. Really.</p>
12
13 % else:
14 <h2>Player Accuracy for <a href="${request.route_url("player_info", id=pgstat.player_id)}" title="Info page for this player">${pgstat.nick_html_colors()}</a> in Game <a href="" title="">${game.game_id}</a>:</h2>
15
16 ## ACCURACY TABLE
17 % if weapon_stats:
18 ${accuracy(weapon_stats)}
19 % endif
20
21 % endif