]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/top_servers_index.mako
Use an instance method to format the play time string.
[xonotic/xonstat.git] / xonstat / templates / top_servers_index.mako
index 4adba45451ce9a4216b516fd0f978a172c70c956..836e36f1eaed73f02220886ca1fcae46073da87b 100644 (file)
@@ -24,7 +24,7 @@
           <tr>
             <th class="small-2">#</th>
             <th class="small-7">Server</th>
-            <th class="small-3">Games</th>
+            <th class="small-3">Time</th>
           </tr>
         </thead>
         <tbody>
@@ -32,7 +32,7 @@
           <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()}</td>
           </tr>
         % endfor
         </tbody>