]> git.sesse.net Git - ccbs/blobdiff - html/templates/tournaments.tmpl
Shape text using Pango and HarfBuzz; gives us nice ligatures and exotic scripts.
[ccbs] / html / templates / tournaments.tmpl
index eafa0e10b92abf891d2c21567cedebd30aa6864c..a7954683a7b9e7dc648fd6933e5c08cb0a53adf3 100644 (file)
@@ -1,4 +1,11 @@
 [%# vim:set filetype=html: %]
+
+[% IF !public %]
+  <div>
+    <p><a href="add-tournament.pl">Add tournament</a></p>
+  </div>
+[% END %]
+  
 [% SET last_season = 0 %]
 [% FOR t = tournaments %]
 
@@ -16,7 +23,9 @@
 [% END %]
       <li>
         <a href="show-tournament.pl?id=[% t.tournament %]">[% t.tournamentname %]</a>
-       (<a href="registration.pl?id=[% t.tournament %]">registrering</a>)
+[% IF !public %]
+       (<a href="registration.pl?id=[% t.tournament %]"><_>registration</_></a>)
+[% END %]
       </li>
 [% END %]
     </ul>