},
},
- sub (/st/) {
- response st => 'Standings', { st => [db->standings] }
- },
-
sub (/st/:contest) {
response st => 'Standings', {
- st => [ db->standings($_{contest}) ],
- problems => [map { $_->problem } contest->contest_problems]
+ st => [ contest->standings ],
+ problems => [map { $_->problem } contest->contest_problems],
}
},
$tr->set_child_content(class => 'score', $st->{score});
$tr->fclass('user')->namedlink($st->{user}, $st->{user_name});
my $pbscore = $tr->fclass('pbscore');
- $pbscore->detach unless $st->{problems};
$pbscore->iter($pbscore => @{$st->{scores}});
};
$tree->find('tbody')->find('tr')->iter3($args{st}, $iter);