]> git.sesse.net Git - ccbs/blobdiff - html/templates/song.tmpl
Set the title on a player's page to the nick.
[ccbs] / html / templates / song.tmpl
index 5f18e5eb38d3fdb613225e9eb8deead22c9d86c3..c1184fc341d9ddf191719a0e6bd511b55464a221 100644 (file)
   <div>
     <table>
       <tr>
+        <th></th>
         <th>Spiller</th>
         <th>Poengsum</th>
         <th>Arrangement</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><a href="show-tournament.pl?id=[% s.tournament %]">[% s.tournamentname %]</a></td>
       </tr>