From: Steinar H. Gunderson Date: Wed, 16 Feb 2005 20:38:03 +0000 (+0000) Subject: Cache revision X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=a4ddf9a2d1481470bc42cf335aaaa810c28cab8f;hp=852e5753ca91f6666fa3028ba9fd034812c9b01f Cache revision 19:45-21:45 --- diff --git a/html/show-tournament.pl b/html/show-tournament.pl index 3a407f8..89ba78d 100755 --- a/html/show-tournament.pl +++ b/html/show-tournament.pl @@ -99,6 +99,14 @@ if ($num_rounds == 0) { $num_qualified = $ref->{'numqualifying'}; } +# And last: If there is a ranking list, the tournament is closed and we really can't +# do anything more +if ($num_rankings > 0) { + $closing_valid = 0; + $finishing_valid = 0; + $rounds[$#rounds]->{'locked'} = 1; +} + ccbs::print_header(); ccbs::process_template('show-tournament.tmpl', $tournament->{'tournamentname'}, { tournament => $tournament,