Francois Gouget : testbot/web: Add the VM name as a tooltip for reverts on the Activity page.

Alexandre Julliard julliard at winehq.org
Tue Feb 27 10:46:18 CST 2018


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Feb 27 02:48:28 2018 +0100

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

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/web/Activity.pl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testbot/web/Activity.pl b/testbot/web/Activity.pl
index 91153b3..d5fe6f3 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};




More information about the wine-cvs mailing list