$tr->set_child_content(class => 'author', $data->{author});
$tr->set_child_content(class => 'level', ucfirst $data->{level});
$tr->fclass('name')->namedlink($data->{id}, $data->{name});
- $tr->fclass('name')->find('a')->edit_href(sub {$_ .= "?contest=$args{contest}"}) if $args{contest};
+ $tr->fclass('name')->find('a')->edit_href(sub {$_ .= "?contest=$args{args}{contest}"}) if $args{args}{contest};
$tr->fclass('owner')->namedlink($data->{owner}, $data->{owner_name});
- $tr->find('td')->attr(class => $tr->find('td')->attr('class').' warning') if $data->{private} && !$args{contest};
+ $tr->find('td')->attr(class => $tr->find('td')->attr('class').' warning') if $data->{private} && !$args{args}{contest};
};
$tree->find('tbody')->find('tr')->iter3([pb_sort @{$args{pb}}], $iter);
- $tree->fid('open-alert')->detach unless $args{contest};
+ $tree->fid('open-alert')->detach unless $args{args}{contest};
}
sub process_log_entry {