From 00398f5cc3854c6e0364a61c086ba22fdce6a5d1 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 8 Feb 2015 12:49:28 +0200 Subject: [PATCH] Hide contest timer on finished contests --- lib/Plack/App/Gruntmaster/HTML.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 81a33c0..3404ddb 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -122,6 +122,7 @@ sub process_ct_entry { stop => ftime $args{stop}, status => $status, description => literal $args{description}); + $tree->fid('ctcountdown')->detach if $args{time} >= $args{stop}; } sub process_ct { -- 2.39.2