[PATCH] testbot/web: Add the VM name as a tooltip for reverts on the Activity page.

Francois Gouget fgouget at codeweavers.com
Mon Feb 26 19:48:28 CST 2018


This helps keep track of which column corresponds to which VM when
scrolling down the activity page.

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

diff --git a/testbot/web/Activity.pl b/testbot/web/Activity.pl
index 91153b3a3..d5fe6f3ae 100644
--- a/testbot/web/Activity.pl
+++ b/testbot/web/Activity.pl
@@ -238,6 +238,10 @@ EOF
       {
         $Label = $VMStatus->{details} || $VMStatus->{status};
       }
+      elsif ($VMStatus->{status} eq "reverting")
+      {
+        $Label = "<a class='title' title='". $VM->Name ."'>reverting</a>";
+      }
       else
       {
         $Label = $VMStatus->{status};
-- 
2.16.1



More information about the wine-devel mailing list