Module: tools Branch: master Commit: 42f8de30ca6eee8ac6c3de647649ae7ddde3ccbd URL: https://source.winehq.org/git/tools.git/?a=commit;h=42f8de30ca6eee8ac6c3de64...
Author: Francois Gouget fgouget@codeweavers.com Date: Mon Jun 20 18:23:20 2022 +0200
testbot/web: Show the web patch id as a tooltip.
This helps cross-reference the TestBot patch list with the jobs and patches website.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/web/PatchesList.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testbot/web/PatchesList.pl b/testbot/web/PatchesList.pl index fc074ada..bf7c52b2 100644 --- a/testbot/web/PatchesList.pl +++ b/testbot/web/PatchesList.pl @@ -53,7 +53,9 @@ sub GenerateDataView($$$) $Row->{Item}->Disposition =~ /job ([0-9]+)$/) { my $JobId = $1; - print "<a href='/JobDetails.pl?Key=$JobId'>Job $JobId</a>"; + my $Title = $Row->{Item}->WebPatchId; + $Title = " title='Web patch $Title'" if ($Title); + print "<a href='/JobDetails.pl?Key=$JobId'$Title>Job $JobId</a>"; } else {