Remove filtered-on columns from job log table
[plack-app-gruntmaster.git] / lib / Plack / App / Gruntmaster / HTML.pm
index f2b4ec9cead19e8e98af996ff35a3e0f4f8bc83f..2734f77cf3655233527f934aac24b5ac065a641d 100644 (file)
@@ -266,6 +266,10 @@ sub process_log {
                $elem->find('a')->edit_href(sub{s/$/&$str/}) if $str;
        }
        $tree->fclass('current')->replace_content("Page $args{current_page} of $args{last_page}");
+
+       my @detach;
+       push @detach, $args{args}{$_} ? $tree->fclass($_) : () for qw/problem contest owner/;
+       $_->detach for @detach;
 }
 
 sub process_st {
This page took 0.009178 seconds and 4 git commands to generate.