]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Merge pull request #26 from antzucaro/active-maps
authorAnt Zucaro <azucaro@gmail.com>
Sun, 6 Nov 2016 14:22:51 +0000 (09:22 -0500)
committerGitHub <noreply@github.com>
Sun, 6 Nov 2016 14:22:51 +0000 (09:22 -0500)
Fix the active maps table and corresponding index.

xonstat/templates/main_index.mako
xonstat/templates/top_maps_index.mako

index 3405039fe527f9bb2d40dc7e3704d846aefefa5e..6641d96aedec7a64b5f1048d5c22fb19785ffecd 100644 (file)
       % for tm in top_maps:
         <tr>
           <td>${tm.sort_order}</td>
-          <td>${tm.map_name}</td>
+          <td class="no-stretch"><a href="${request.route_url('map_info', id=tm.map_id)}" title="Go to the map info page for ${tm.map_name}">${tm.map_name}</a></td>
           <td>${tm.games}</td>
         </tr>
       % endfor
index 4a8f35810b86d9ae0870b99cf86681f0d62c843e..71fa66441e6e172f90e110d84040d2f1c3103188 100644 (file)
@@ -32,7 +32,7 @@
           <tr>
             <td>${tm.sort_order}</td>
             <td class="no-stretch"><a href="${request.route_url('map_info', id=tm.map_id)}" title="Go to the map info page for ${tm.map_name}">${tm.map_name}</a></td>
-            <td>${tm.sort_order}</td>
+            <td>${tm.games}</td>
           </tr>
         % endfor
         </tbody>