Add server index and template. Fix links on player index and template.
[xonotic/xonstat.git] / xonstat / templates / player_index.mako
index d5f12e1228a8fe748ccbdb7db00f231277a2fc3c..03f52b940864b88e7d234c07c68406df949b681d 100755 (executable)
@@ -18,7 +18,7 @@ Player Index - ${parent.title()}
 % for player in players:\r
   <tr>\r
     <td>${player.player_id}</th>\r
-    <td>${player.nick_html_colors()}</th>\r
+    <td><a href="${request.route_url("player_info", id=player.player_id)}" title="Go to this player's info page">${player.nick_html_colors()}</a></th>\r
     <td>${player.create_dt.strftime('%m/%d/%Y at %H:%M')}</th>\r
   </tr>\r
 % endfor\r