[PATCH] testbot/web: Add ids so one can link to a given job on the Home page.
Francois Gouget
fgouget at codeweavers.com
Wed Dec 6 21:15:03 CST 2017
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
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 3f3a91e6..b0c2d450 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>",
--
2.15.0
More information about the wine-devel
mailing list