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:
645cfb7
)
Add contest to problem links in standings
author
Marius Gavrilescu
<marius@ieval.ro>
Thu, 5 Feb 2015 16:35:54 +0000
(18:35 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Thu, 5 Feb 2015 16:35:54 +0000
(18:35 +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 abb2779ce49f8576527343237f055676b42bcaee..d37d1a703557d15cf4c245b43e5ea99c06f2904f 100644
(file)
--- a/
lib/Plack/App/Gruntmaster/HTML.pm
+++ b/
lib/Plack/App/Gruntmaster/HTML.pm
@@
-254,6
+254,7
@@
sub process_st {
my ($data, $th) = @_;
$th->attr(class => undef);
$th->namedlink(@$data);
+ $th->find('a')->edit_href(sub{s/$/?contest=$args{args}{contest}/});
};
$tree->fclass('problem')->iter3($args{problems}, $pbiter);
my $iter = sub {
This page took
0.010686 seconds
and
4
git commands to generate.