projects
/
ccbs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch to English as a default language, and make a matching nb_NO.po instead.
[ccbs]
/
html
/
templates
/
song.tmpl
diff --git
a/html/templates/song.tmpl
b/html/templates/song.tmpl
index 5de46c0e592fcd9449d73c40b23c834e0ee31183..55272b3c0a5d1c119d35dd8d3550f70b2a2a1143 100644
(file)
--- a/
html/templates/song.tmpl
+++ b/
html/templates/song.tmpl
@@
-1,5
+1,5
@@
[%# vim:set filetype=html: %]
[%# vim:set filetype=html: %]
- <h2>Gener
elle fakta
</h2>
+ <h2>Gener
al facts
</h2>
<div>
<ul>
<div>
<ul>
@@
-9,21
+9,25
@@
</ul>
</div>
</ul>
</div>
- <h2>Best
e
scores</h2>
+ <h2>Best scores</h2>
<div>
<div>
- <table>
+ <table
class="scores"
>
<tr>
<tr>
- <th>Spiller</th>
- <th>Poengsum</th>
- <th>Arrangement</th>
+ <th></th>
+ <th>Player</th>
+ <th>Score</th>
+ <th>Occasion</th>
</tr>
</tr>
-
+
+[% SET rowno = 1 %]
[% FOR s = scores %]
<tr>
[% 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.score %]</td>
- <td>
[% s.tournamentname %]
</td>
+ <td>
<a href="show-tournament.pl?id=[% s.tournament %]">[% s.tournamentname %]</a>
</td>
</tr>
[% END %]
</table>
</tr>
[% END %]
</table>