]> git.sesse.net Git - ccbs/blobdiff - html/templates/tournaments.tmpl
Added links for all songs (no backend yet) in the tournament view.
[ccbs] / html / templates / tournaments.tmpl
index f0a59066968c6e9031a6bc9fec10705602eaa811..7d0d6bfc5ae11843c509d650351bdff19a76d62e 100644 (file)
@@ -1,4 +1,9 @@
 [%# vim:set filetype=html: %]
+
+  <div>
+    <p><a href="add-tournament.pl">Legg til turnering</a></p>
+  </div>
+  
 [% SET last_season = 0 %]
 [% FOR t = tournaments %]
 
   <div>
     <ul>
 [% END %]
-      <li><a href="show-tournament.pl?id=[% t.tournament %]">[% t.tournamentname %]</a></li>
+      <li>
+        <a href="show-tournament.pl?id=[% t.tournament %]">[% t.tournamentname %]</a>
+       (<a href="registration.pl?id=[% t.tournament %]">registrering</a>)
+      </li>
 [% END %]
     </ul>
   </div>