]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Add game finder links to the "info" views.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 24 Dec 2012 15:09:35 +0000 (10:09 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 24 Dec 2012 15:09:35 +0000 (10:09 -0500)
xonstat/templates/main_index.mako
xonstat/templates/map_info.mako
xonstat/templates/player_info.mako
xonstat/templates/server_info.mako

index a1de18ca120dbec4810afa8218a7ea00a479907d..74a9d5ffe28f21fe6866f287a16e93210c35e692 100644 (file)
@@ -190,6 +190,7 @@ Leaderboard
         % endfor
         </tbody>
     </table>
+    <p><a href="${request.route_url('game_finder')}">More...</a></p>
   </div> <!-- /span12 -->
 </div> <!-- /row -->
 % endif
index 4394721f3dfd171265c7d1837cf2b59c2e3ec455..abbd4b0a80906f9b17ca609b232f32e11b6adde6 100644 (file)
@@ -182,6 +182,7 @@ ${parent.title()}
         % endfor
       </tbody>
     </table>
+    <p><a href="${request.route_url('game_finder', _query={'map_id':gmap.map_id})}">More...</a></p>
   </div>
 </div>
 % endif
index ac6bcd05eef7c086609768c192ecb5c4e543319d..f08e7c3c0db3a4ce57b203faddee5063b9ed32a9 100644 (file)
@@ -481,7 +481,7 @@ Player Information
       </tbody>
     </table>
     % if total_games > 10:
-    <a href="${request.route_url("player_game_index", player_id=player.player_id, page=1)}" title="Game index for ${player.nick}">More games played by ${player.nick_html_colors()|n}...</a>
+    <p><a href="${request.route_url("player_game_index", player_id=player.player_id, page=1)}" title="Game index for ${player.nick}">More...</a></p>
     % endif
   </div>
 </div>
index fd36e3b89d328bbe785e023e357f4b37759faf52..fef79a419c5fd05af3bc595b4d74fd1d03b7652a 100644 (file)
@@ -155,6 +155,7 @@ Server Information
         % endfor
       </tbody>
     </table>
+    <p><a href="${request.route_url('game_finder', _query={'server_id':server.server_id})}">More...</a></p>
   </div>
 </div>
 % endif