From: Ant Zucaro Date: Fri, 13 Jun 2014 13:10:39 +0000 (-0400) Subject: Missed a template for adding login button support. Adding it. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ae752d21cc782dafd274703601f5e3347d0d2915;p=xonotic%2Fxonstat.git Missed a template for adding login button support. Adding it. --- diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index e810b66..dfd190d 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -2,7 +2,11 @@ <%namespace name="nav" file="nav.mako" /> <%block name="navigation"> -${nav.nav('players')} +% if player.email_addr is not None: +${nav.nav('players', True)} +% else: +${nav.nav('players', False)} +% endif <%block name="css"> @@ -21,6 +25,9 @@ ${parent.js()} + + +