projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb84f12
)
Pass private argument to job log from pb_entry
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 12 Jan 2015 20:09:22 +0000
(22:09 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 12 Jan 2015 20:09:22 +0000
(22:09 +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 91f1fc4baf091583245eb1ca3c5379cb470ff509..f2ce142269abbc94f5b1f46951cde1b193c9da18 100644
(file)
--- a/
lib/Plack/App/Gruntmaster/HTML.pm
+++ b/
lib/Plack/App/Gruntmaster/HTML.pm
@@
-138,6
+138,7
@@
sub process_pb_entry {
$tree->fid('owner')->edit_href(sub{s/owner_id/$args{owner}/});
$tree->fid('job_log')->edit_href(sub{s/problem_id/$args{id}/});
$tree->fid('solution')->edit_href(sub{s/problem_id/$args{id}/});
+ $tree->fid('job_log')->edit_href(sub{$_ .= "&private=$args{private}"}) if $args{private};
$tree->content_handler(
statement => literal $args{statement},
author => $args{author},
This page took
0.023035 seconds
and
4
git commands to generate.