]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/rank_index.mako
See you later, setup.cfg.
[xonotic/xonstat.git] / xonstat / templates / rank_index.mako
index c6ea4540426d2a4ec3e3f960f7127f0376a4dcb7..f1ad358b97d357b17e35c5f93d3b9968ef2ee4dd 100644 (file)
@@ -2,15 +2,7 @@
 <%namespace file="navlinks.mako" import="navlinks" />
 
 <%block name="title">
-  % if game_type_cd == 'dm':
-    Deathmatch Rank Index
-  % elif game_type_cd == 'duel':
-    Duel Rank Index
-  % elif game_type_cd == 'tdm':
-    Team Deathmatch Rank Index
-  % elif game_type_cd == 'ctf':
-    Capture The Flag Rank Index
-  % endif
+    ${game_type.descr} Rank Index
 </%block>
 
 <div class="row">