Make each job name in the detailed tables be a link to the
(unpublished) logs for that job.

Requested-by: Roger Pau Monné <roger....@citrix.com>
Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 ms-flights-summary | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/ms-flights-summary b/ms-flights-summary
index 10ad6e5..0e5cd4d 100755
--- a/ms-flights-summary
+++ b/ms-flights-summary
@@ -315,7 +315,12 @@ sub do_one_job($$$$) {
 
     $tag = "b" if $info->{Anon} && currently_running($info);
 
-    cell(encode_entities($job), undef, undef, $tag);
+    my $jobcell = encode_entities($job);
+    if ($fl) {
+       my $jurl = "$c{ReportHtmlUnpubBaseUrl}/$fl/$job/";
+       $jobcell = "<a href=\"".encode_entities($jurl)."\">".$jobcell."</a>";
+    }
+    cell($jobcell, undef, undef, $tag);
 
     # Anonymous/rogue jobs may not have a flight or status
     if ($fl && $status) {
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to