1 [%# vim:set filetype=html: %]
2 [% SET last_season = 0 %]
3 [% FOR t = tournaments %]
5 [% IF t.season != last_season %]
6 [% IF last_season != 0 %]
10 [% SET last_season = t.season %]
12 <h2>[% t.seasonname %]</h2>
18 <a href="show-tournament.pl?id=[% t.tournament %]">[% t.tournamentname %]</a>
19 (<a href="registration.pl?id=[% t.tournament %]">registrering</a>)
20 (<a href="start-tournament.pl?id=[% t.tournament %]">begynn</a>)