[PATCH] testbot/web: Show the log filename as a tooltip on the JobDetails page.

Francois Gouget fgouget at codeweavers.com
Fri Nov 23 09:21:54 CST 2018


The log filename contains the abbreviated locale if it is not the
default.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/web/JobDetails.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index 469138f0bd..6c8c7ce40c 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -304,8 +304,9 @@ sub GenerateMoreInfoLink($$$$;$)
   my ($self, $LinkKey, $Label, $Set, $Value) = @_;
 
   my ($Action, $Url) = $self->GetMoreInfoLink($LinkKey, $Label, $Set, $Value);
+  my $Title = ($Value =~ /^(.*)\.report$/) ? " title='$1'" : "";
 
-  my $Html = "<a href='". $self->CGI->escapeHTML($Url) ."'>$Action $Label</a>";
+  my $Html = "<a href='". $self->CGI->escapeHTML($Url) ."'$Title>$Action $Label</a>";
   if ($Action eq "Hide")
   {
     $Html = "<span class='TaskMoreInfoSelected'>$Html</span>";
-- 
2.19.1




More information about the wine-devel mailing list