]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/main_index.mako
Add a hover message to the 'time' column.
[xonotic/xonstat.git] / xonstat / templates / main_index.mako
index 3405039fe527f9bb2d40dc7e3704d846aefefa5e..321b8e187d0727f063a5dfa49e5ec89fad028d57 100644 (file)
         <tr>
           <th class="small-2">#</th>
           <th class="small-7">Server</th>
-          <th class="small-3">Games</th>
+          <th class="small-3" title="Total accumulated player time on the server">Time</th>
         </tr>
       </thead>
       <tbody>
         <tr>
           <td>${ts.sort_order}</td>
           <td class="no-stretch"><a href="${request.route_url('server_info', id=ts.server_id)}" title="Go to the server info page for ${ts.server_name}">${ts.server_name}</a></td>
-          <td>${ts.games}</td>
+          <td>${ts.play_time_str(max_segments=2)}</td>
         </tr>
       % endfor
       </tbody>
       % 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