Francois Gouget : testbot/web: Show the log filename as a tooltip on the JobDetails page.
Module: tools Branch: master Commit: 45df3d767a8ced3c2beb6bd05cbd37001cc027ac URL: https://source.winehq.org/git/tools.git/?a=commit;h=45df3d767a8ced3c2beb6bd0... Author: Francois Gouget <fgouget(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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>";
participants (1)
-
Alexandre Julliard