X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fgame_info.mako;h=389f0c981b416be0eeb749bb1535165089e9c573;hb=13554fa40f2aa83e30cf8a7cecd93a6ab6102b6f;hp=141f3a9c65826cd435ff4068094a5f3e42b22fe3;hpb=7c5316b773629190d25089000b95c9e6ad6517a0;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index 141f3a9..389f0c9 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -2,74 +2,163 @@ <%namespace name="nav" file="nav.mako" /> <%namespace file="scoreboard.mako" import="scoreboard" /> <%namespace file="accuracy.mako" import="accuracy" /> +<%namespace file="frag_matrix.mako" import="frag_matrix" /> <%block name="navigation"> -${nav.nav('games')} + ${nav.nav('games')} %block> -<%block name="js"> - - - +<%block name="foundation"> + %block> <%block name="title"> -Game Information + Game Information %block> % if game is None: -
- Played: ${game.fuzzy_date()}
- Game Type: ${game.game_type_cd}
- Server: ${server.name}
- Map: ${map.name}
-
+ ${gametype.descr}
+ Played ${game.fuzzy_date()}
+ Server: ${server.name}
+ Map: ${map.name}
+ % if game.duration is not None:
+ Duration: ${"%s:%02d" % (game.duration.seconds/60, game.duration.seconds%60)}
+ % endif
+
Team | +Score | + + + % for ts in teamscores: +
---|---|
${ts.team.capitalize()} | ${ts.score} |