Francois Gouget : testbot/web: Simplify the job details page DisplayProperty().

Alexandre Julliard julliard at winehq.org
Wed Apr 20 16:33:32 CDT 2022


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Apr 20 16:17:18 2022 +0200

testbot/web: Simplify the job details page DisplayProperty().

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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 f681ca5..e39df41 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -49,7 +49,8 @@ sub DisplayProperty($$)
   my ($self, $PropertyDescriptor) = @_;
 
   my $PropertyName = $PropertyDescriptor->GetName();
-  return $PropertyName =~ /^(?:StepNo|TaskNo|Status|VM|Timeout|FileName|CmdLineArg|Started|Ended|TestFailures)$/ ? "ro" : "";
+  return $PropertyName =~ /^(?:Id|PreviousNo|Type|FileType|Missions)$/ ? "" :
+         $self->SUPER::DisplayProperty($PropertyDescriptor);
 }
 
 




More information about the wine-cvs mailing list