]> git.sesse.net Git - ccbs/blobdiff - html/templates/song.tmpl
Switch to English as a default language, and make a matching nb_NO.po instead.
[ccbs] / html / templates / song.tmpl
index 5de46c0e592fcd9449d73c40b23c834e0ee31183..55272b3c0a5d1c119d35dd8d3550f70b2a2a1143 100644 (file)
@@ -1,5 +1,5 @@
 [%# vim:set filetype=html: %]
-  <h2>Generelle fakta</h2>
+  <h2>General facts</h2>
 
   <div>
     <ul>
@@ -9,21 +9,25 @@
     </ul>
   </div>
 
-  <h2>Beste scores</h2>
+  <h2>Best scores</h2>
 
   <div>
-    <table>
+    <table class="scores">
       <tr>
-        <th>Spiller</th>
-        <th>Poengsum</th>
-        <th>Arrangement</th>
+        <th></th>
+        <th>Player</th>
+        <th>Score</th>
+        <th>Occasion</th>
       </tr>
-      
+
+[% SET rowno = 1 %]
 [% FOR s = scores %]
       <tr>
-        <td>[% s.nick %]</td>
+        <th>[% rowno %]</th>
+[% SET rowno = rowno + 1 %]
+        <td><a href="player.pl?id=[% s.player %]">[% s.nick %]</a></td>
         <td>[% s.score %]</td>
-        <td>[% s.tournamentname %]</td>
+        <td><a href="show-tournament.pl?id=[% s.tournament %]">[% s.tournamentname %]</a></td>
       </tr>
 [% END %]
     </table>