Francois Gouget : testbot/web: Show the log filename as a tooltip on the JobDetails page.

Alexandre Julliard julliard at winehq.org
Fri Nov 23 14:01:05 CST 2018


Module: tools
Branch: master
Commit: 45df3d767a8ced3c2beb6bd05cbd37001cc027ac
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=45df3d767a8ced3c2beb6bd05cbd37001cc027ac

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Nov 23 16:21:54 2018 +0100

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

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

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 de2f9cc..9ab5006 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>";




More information about the wine-cvs mailing list