From 89d8eeb764f8903d2f506124ff3dd93444d06d5d Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 15 Feb 2015 23:41:56 +0200 Subject: [PATCH] Remind users about opens --- lib/Plack/App/Gruntmaster/HTML.pm | 1 + tmpl/pb.en | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.2