projects
/
ccbs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added links for all songs (no backend yet) in the tournament view.
[ccbs]
/
html
/
templates
/
show-tournament.tmpl
diff --git
a/html/templates/show-tournament.tmpl
b/html/templates/show-tournament.tmpl
index
a5c539e
..
ee2be73
100644
(file)
--- a/
html/templates/show-tournament.tmpl
+++ b/
html/templates/show-tournament.tmpl
@@
-112,10
+112,10
@@
</th>
[% END %]
[% FOR s = p.songs %]
</th>
[% END %]
[% FOR s = p.songs %]
- [% IF s
== ''
%]
+ [% IF s
.song == -1
%]
<th colspan="4">Selvvalgt</th>
[% ELSE %]
<th colspan="4">Selvvalgt</th>
[% ELSE %]
- <th colspan="3">
[% s %]
</th>
+ <th colspan="3">
<a href="song.pl?id=[% s.song %]">[% s.title %]</a>
</th>
[% END %]
[% END %]
[% IF p.num_songs > 1 %]
[% END %]
[% END %]
[% IF p.num_songs > 1 %]
@@
-138,7
+138,7
@@
<td class="playmode">[% s.playmode %]</td>
<td class="difficulty">[% s.difficulty %]</td>
[% IF s.chosen %]
<td class="playmode">[% s.playmode %]</td>
<td class="difficulty">[% s.difficulty %]</td>
[% IF s.chosen %]
- <td>
[% s.title %]
</td>
+ <td>
<a href="song.pl?id=[% s.song %]">[% s.title %]</a>
</td>
[% END %]
[% END %]
[% IF p.num_songs > 1 %]
[% END %]
[% END %]
[% IF p.num_songs > 1 %]