projects
/
ccbs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1990313
)
Added a ranking beside each player in the song highscore list.
author
Steinar H. Gunderson
<sesse@samfundet.no>
Fri, 18 Feb 2005 13:38:07 +0000
(13:38 +0000)
committer
Steinar H. Gunderson
<sesse@samfundet.no>
Fri, 18 Feb 2005 13:38:07 +0000
(13:38 +0000)
html/templates/song.tmpl
patch
|
blob
|
history
diff --git
a/html/templates/song.tmpl
b/html/templates/song.tmpl
index
5f18e5e
..
c1b510b
100644
(file)
--- a/
html/templates/song.tmpl
+++ b/
html/templates/song.tmpl
@@
-14,13
+14,17
@@
<div>
<table>
<tr>
+ <th></th>
<th>Spiller</th>
<th>Poengsum</th>
<th>Arrangement</th>
</tr>
-
+
+[% SET rowno = 1 %]
[% FOR s = scores %]
<tr>
+ <th>[% rowno %]</th>
+[% SET rowno = rowno + 1 %]
<td>[% s.nick %]</td>
<td>[% s.score %]</td>
<td><a href="show-tournament.pl?id=[% s.tournament %]">[% s.tournamentname %]</a></td>