]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Remove references to ranks on the player info page.
authorAnt Zucaro <azucaro@gmail.com>
Thu, 4 Jan 2018 22:04:30 +0000 (17:04 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Thu, 4 Jan 2018 22:04:30 +0000 (17:04 -0500)
xonstat/templates/player_info.mako

index d0d619f1131cc18089c84ae6690f5ac0f8383799..e24a59b86a518401c3f088563a9722a95df34e15 100644 (file)
               <small><br /></small>
             % endif
 
-            % if g.game_type_cd in ranks:
-              % if g.game_type_cd == 'overall':
-                Best Rank: 
-                <small>
-                  <a href="${request.route_url('rank_index', game_type_cd=ranks[g.game_type_cd].game_type_cd, _query={'page':(ranks[g.game_type_cd].rank-1)/20+1})}" title="Player rank page for this player">
-                    ${ranks[g.game_type_cd].rank} of ${ranks[g.game_type_cd].max_rank}
-                  </a>
-                  (${ranks[g.game_type_cd].game_type_cd}, percentile: ${round(ranks[g.game_type_cd].percentile,2)}) 
-                  <br />
-                </small>
-              % else:
-                Rank: 
-                <small>
-                  <a href="${request.route_url('rank_index', game_type_cd=g.game_type_cd, _query={'page':(ranks[g.game_type_cd].rank-1)/20+1})}" title="Player rank page for this player">
-                    ${ranks[g.game_type_cd].rank} of ${ranks[g.game_type_cd].max_rank}
-                  </a>
-                  (percentile: ${round(ranks[g.game_type_cd].percentile,2)})
-                  <br />
-                </small>
-              % endif
-            % else:
-              <small><br /></small>
-            % endif
+            <small><br /></small>
 
             % if g.game_type_cd == 'ctf':
               % if overall_stats[g.game_type_cd].cap_ratio is not None: