Module: tools Branch: master Commit: 62bfba14f69d3a021e7945f36f653d539b3690eb URL: http://source.winehq.org/git/tools.git/?a=commit;h=62bfba14f69d3a021e7945f36...
Author: Francois Gouget fgouget@codeweavers.com Date: Thu Dec 7 04:15:03 2017 +0100
testbot/web: Add ids so one can link to a given job on the Home page.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/web/index.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testbot/web/index.pl b/testbot/web/index.pl index 3f3a91e..b0c2d45 100644 --- a/testbot/web/index.pl +++ b/testbot/web/index.pl @@ -87,7 +87,8 @@ sub GenerateDataCell($$$$) my $PropertyName = $PropertyDescriptor->GetName(); if ($PropertyName eq "Status") { - print "<td><a href='/JobDetails.pl?Key=", uri_escape($Item->GetKey()), "'>"; + my $EscapedKey = uri_escape($Item->GetKey()); + print "<td id='job$EscapedKey'><a href='/JobDetails.pl?Key=$EscapedKey'>";
my %HTMLChunks = ("queued" => "<span class='queued'>queued</span>", "running" => "<span class='running'>running</span>",