Rosanne DiMesio : Re-enable staging checkbox for new test reports

Jeremy Newman jnewman at winehq.org
Wed Apr 11 14:31:12 CDT 2018


Module: appdb
Branch: master
Commit: fdbd6540fdf1c922f7afeed34230ac49515e802c
URL:    https://source.winehq.org/git/appdb.git/?a=commit;h=fdbd6540fdf1c922f7afeed34230ac49515e802c

Author: Rosanne DiMesio <dimesio at earthlink.net>
Date:   Wed Apr 11 08:54:06 2018 -0500

Re-enable staging checkbox for new test reports

Reverts 6150f43320843dd39da749437a7d73a9374a609e.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>

---

 include/testData.php | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/include/testData.php b/include/testData.php
index cec7fec..2b6dbff 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -921,14 +921,11 @@ class testData{
         echo "<span>Version not listed?  Your Wine is too old, <a href=\"//winehq.org/download\">upgrade!</a></span><br>";
         // Checkbox for Wine-staging
         echo '<label class="btn btn-secondary">';
-        if($this->sState != 'accepted')
-            echo '<input type="checkbox" name="iStaging" value="1" disabled>';
+        if($this->iStaging != 0)
+            echo '<input type="checkbox" name="iStaging" value="1" checked>';  
         else
-            if($this->iStaging != 0)
-                echo '<input type="checkbox" name="iStaging" value="1" checked>';  
-            else
-                echo '<input type="checkbox" name="iStaging" value="1">';
-        echo '  Wine-staging <i>(discontinued; last official release was 2.21)</i>';
+            echo '<input type="checkbox" name="iStaging" value="1">';
+        echo '  Wine-staging';
         echo '</label>';
         echo '</td></tr>',"\n";
        




More information about the wine-cvs mailing list