From: Sergiu Date: Wed, 27 Apr 2016 21:34:28 +0000 (+0300) Subject: contest page should now also display problem value X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;ds=sidebyside;h=1f0d9746c599663df5fd961b34db48ff1f40992d;p=gruntmaster-page.git contest page should now also display problem value --- diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 9576182..f18e5f6 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -210,6 +210,7 @@ sub process_pb { my $iter = sub { my ($data, $tr) = @_; $tr->set_child_content(class => 'author', $data->{author}); + $tr->set_child_content(class => 'value', $data->{value}); $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{args}{contest}"}) if $args{args}{contest}; diff --git a/tmpl/pb.en b/tmpl/pb.en index b86aca6..009c46b 100644 --- a/tmpl/pb.en +++ b/tmpl/pb.en @@ -4,8 +4,8 @@ The timer for a problem starts when you open the problem. You will lose points i - + -
NameAuthorOwnerLevel
NameAuthorOwnerLevelValue
NameauthorOwner nameBeginner +
NameauthorOwner nameBeginnerValue