From: Marius Gavrilescu Date: Sun, 15 Feb 2015 21:41:56 +0000 (+0200) Subject: Remind users about opens X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=89d8eeb764f8903d2f506124ff3dd93444d06d5d;p=plack-app-gruntmaster.git Remind users about opens --- diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index cd65088..947f039 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -195,6 +195,7 @@ sub process_pb { $div->find('tbody')->find('tr')->iter3($args{$data}, $titer); }; $tree->fid('beginner')->iter3([grep {$args{$_}} qw/beginner easy medium hard/], $iter); + $tree->fid('open-alert')->detach unless $args{contest}; } sub process_log_entry { diff --git a/tmpl/pb.en b/tmpl/pb.en index ae1a002..bde0ae8 100644 --- a/tmpl/pb.en +++ b/tmpl/pb.en @@ -1,4 +1,8 @@ -
+ +

Beginner

@@ -8,4 +12,3 @@
NameauthorOwner name
-
\ No newline at end of file