]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/game_info.mako
Merge branch 'master' of http://git.xonotic.org/xonotic/xonstat into approved
[xonotic/xonstat.git] / xonstat / templates / game_info.mako
index 12f8c2306c8d39440ee06f539a8f37f635acb701..2c5f1b30bd924f7cf13abeef7b6c85dd1bcc4516 100644 (file)
@@ -77,7 +77,7 @@ Game Information
             <span class="nick">${pgs.nick_html_colors()|n}</span>
           % endif
           </td>
-          <td>${round(float(pgs.fastest_cap.seconds) + (pgs.fastest_cap.microseconds/1000000.0), 2)}</td>
+          <td>${round(float(pgs.fastest.seconds) + (pgs.fastest.microseconds/1000000.0), 2)}</td>
         </tr>
       % endfor
       </tbody>
@@ -87,7 +87,7 @@ Game Information
 % endif
 
 
-% if len(pgstats) > 0:
+% if len(pgstats) > 0 and len(pwstats) > 0:
 <div class="row">
   <div class="span12">
     <h3>Accuracy Information</h3>