X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fplayer_info.mako;h=dfd190d2e980cba48411082e0241b7e9a9fbe710;hb=ae752d21cc782dafd274703601f5e3347d0d2915;hp=f51dac9627cf265cc62e2bfff5c061b2b55916bf;hpb=67770f6a980ef9bc98f4f1c39fad39669816e9a0;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index f51dac9..dfd190d 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -1,21 +1,35 @@ <%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> -<%namespace file="accuracy.mako" import="accuracy" /> <%block name="navigation"> -${nav.nav('players')} +% if player.email_addr is not None: +${nav.nav('players', True)} +% else: +${nav.nav('players', False)} +% endif %block> <%block name="css"> ${parent.css()} + + %block> <%block name="js"> ${parent.js()} -% if player is not None: - + + + + + + - -% endif %block> <%block name="title"> Player Information %block> - -% if player is None: -
Seriously though, he probably doesn't exist...just a figment of your imagination. Carry on then!
- -% else: