projects
/
plack-app-gruntmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2beb67b
)
Display limit overrides
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 16 Mar 2015 16:33:04 +0000
(18:33 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 16 Mar 2015 16:33:04 +0000
(18:33 +0200)
lib/Plack/App/Gruntmaster/HTML.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Plack/App/Gruntmaster/HTML.pm
b/lib/Plack/App/Gruntmaster/HTML.pm
index b4f863ad2187550ea35dd9ee242dc71111d4339a..57b4e50a5f2069bfcde733c0e10fe965ee7d1649 100644
(file)
--- a/
lib/Plack/App/Gruntmaster/HTML.pm
+++ b/
lib/Plack/App/Gruntmaster/HTML.pm
@@
-149,6
+149,11
@@
sub process_pb_entry {
level => ucfirst $args{level},
author => $args{author},
owner => $args{owner_name} || $args{owner});
+ if ($args{limits}) {
+ my @limits = (@{$args{limits}}, {format => 'Other', timeout => $args{timeout} });
+ @limits = map { sprintf '%s (%s)', @{$_}{qw/timeout format/} } @limits;
+ $tree->look_down(smap => 'timeout')->replace_content(join ', ', @limits);
+ }
if ($args{contest_stop}) {
$tree->fid('solution')->detach;
$tree->fid('solution_modal')->detach;
This page took
0.010855 seconds
and
4
git commands to generate.