X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=090ca325e85dc3d486453b2bec0c332b999a5a98;hb=4e2ae6f8f5cb92a1938eb1a9f5b692b230cacced;hp=52afd1129128f719d235a7bf4017ac2115e31418;hpb=a33e01dd99675a6b875dc923a30329978a3b164e;p=gruntmaster-page.git diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 52afd11..090ca32 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -114,6 +114,7 @@ sub process_us { sub process_ct_entry { my ($tree, %args) = @_; $_->edit_href (sub {s/contest_id/$args{id}/}) for $tree->find('a'); + $tree->fid('editorial')->detach unless $args{finished}; $tree->fid('links')->detach unless $args{started}; $tree->content_handler( start => ftime $args{start},