X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=8b7a0a872379f861f9888213b1c09337e1bd447a;hb=5251db546cbc5eb678a007cfee54d170ad29ff45;hp=8f47616eaf4e9446ee550c774b62e60972e49e2b;hpb=8d690af588170f90b957507454123e3e9070f7a6;p=plack-app-gruntmaster.git diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 8f47616..8b7a0a8 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},