]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/main_index.mako
Merge pull request #11 from nyov/nyov/refactor
[xonotic/xonstat.git] / xonstat / templates / main_index.mako
index 2a8521be75f8e731e7bf1ac76c0a635ba95c6c32..f5b8abd710d001e108bee4294b63d8bc23ac91ad 100755 (executable)
@@ -9,7 +9,7 @@ Leaderboard
         <img src="/static/css/img/web_background_l2.png" />\r
         #####<p id="statline">Tracking <a href="#">12345</a> players, <a href="#">12345</a> games (<a href="#">123</a> duels, <a href="#">123</a> ctfs, <a href="#">123</a> dms), <a href="#">12345</a> servers, and <a href="#">12345</a> maps since November 2011.</p>\r
         <p id="statline">Tracking Xonotic statistics since October 2011.</p>\r
-        <p><a class="btn btn-primary btn-large">Get the game &raquo;</a></p>\r
+        <p><a class="btn btn-primary btn-large" href="http://www.xonotic.org/download" title="Download Xonotic">Get the game &raquo;</a></p>\r
       </div>\r
 </%block>\r
 \r
@@ -31,9 +31,9 @@ Leaderboard
         <tr>\r
           <td>${i}</td>\r
           % if player_id != '-':\r
-          <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick}</a></td>\r
+          <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>\r
           % else:\r
-          <td>${nick}</td>\r
+          <td>${nick|n}</td>\r
           % endif\r
           % if elo != '-':\r
           <td>${round(elo, 3)}</td>\r
@@ -65,9 +65,9 @@ Leaderboard
         <tr>\r
           <td>${i}</td>\r
           % if player_id != '-':\r
-          <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick}</a></td>\r
+          <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>\r
           % else:\r
-          <td>${nick}</td>\r
+          <td>${nick|n}</td>\r
           % endif\r
           % if elo != '-':\r
           <td>${round(elo, 3)}</td>\r
@@ -99,9 +99,9 @@ Leaderboard
         <tr>\r
           <td>${i}</td>\r
           % if player_id != '-':\r
-          <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick}</a></td>\r
+          <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>\r
           % else:\r
-          <td>${nick}</td>\r
+          <td>${nick|n}</td>\r
           % endif\r
           % if elo != '-':\r
           <td>${round(elo, 3)}</td>\r
@@ -136,7 +136,7 @@ Leaderboard
           % if player_id != '-':\r
           <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>\r
           % else:\r
-          <td>${nick}</td>\r
+          <td>${nick|n}</td>\r
           % endif\r
           <td class="play-time">${alivetime}</td>\r
         </tr>\r