From e5000ca8667d57be34bc53e92b552e4471995158 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 1 May 2015 14:40:07 +0100 Subject: [PATCH] sg-report-flight: Break colour of out $cell_html->() results No functional change. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- sg-report-flight | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index 18a5afa..29b5ef6 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -970,8 +970,8 @@ END ? ('#ff8888',400) : ('#ffff00',250); } - my $h = " bgcolor=\"$bgc\">"; - $h .= "{job}). + my $ch = "bgcolor=\"$bgc\""; + my $h = "{job}). "/$s->{stepno}.".encode_entities($s->{step}).".log\">"; #print H "[$s->{stepno}] "; $h .= encode_entities($sum_core); @@ -980,7 +980,7 @@ END $h .= " ". displayflightnum($sum_flight).""; } - return ($h,$priority); + return ($h,$priority,$ch); }; foreach my $col (@cols) { @@ -992,7 +992,7 @@ END next if $this[1] < $worst[1]; @worst=@this; } - print H ""; + print H "",$worst[0],""; } print H "\n"; # Create a gutter row after the headers. @@ -1038,8 +1038,8 @@ END if ($ei) { $deferred_cells->(1); my $s= $ei->{Step}; - my ($h,$priority) = $cell_html->($ei); - print H ""; + my ($h,$priority,$ch) = $cell_html->($ei); + print H "",$h,""; } else { $ndeferred++; } -- 2.39.5