Rosanne DiMesio : Change extra comments to match other textareas

Jeremy Newman jnewman at winehq.org
Mon Sep 11 13:28:28 CDT 2017


Module: appdb
Branch: master
Commit: 0c964b6dfefedcf2f028eb46dbbcf727da61261b
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=0c964b6dfefedcf2f028eb46dbbcf727da61261b

Author: Rosanne DiMesio <dimesio at earthlink.net>
Date:   Mon Sep 11 10:09:52 2017 -0500

Change extra comments to match other textareas

Makes the input field on the test report form wysiwyg and
removes the pre-formatted text styling from the test results display
so that it matches the other textareas in the test report.

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

---

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

diff --git a/include/testData.php b/include/testData.php
index 7f05db2..86771d2 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -584,7 +584,7 @@ class testData{
                "<p><b>Workarounds</b></p>\n<p>{$this->shWorkarounds}</p>\n".               
                "<p><b>What was not tested</b></p>\n<p>{$this->shWhatNotTested}</p>\n".
                "<p><b>Hardware tested</b></p>\n<p><i>Graphics: </i></ul><li>GPU: {$this->sGpuMfr}</li><li>Driver: {$this->sGraphicsDriver}</li></ul></p>".
-               "<p><b>Additional Comments</b></p>\n<pre style='white-space: pre-wrap;'>{$this->sComments}</pre>\n";
+               "<p><b>Additional Comments</b></p>\n<p>{$this->sComments}</p>\n";
     }
 
     function CreateTestTable()
@@ -907,7 +907,7 @@ class testData{
         echo '<a href="https://wiki.winehq.org/AppDB_Maintainer_Rating_Definitions" target="_blank">Rating definitions</a></td></tr>',"\n";
         // extra comments
         echo '<tr valign=top><td><b>Extra comments</b></td>',"\n";
-        echo '<td><textarea name="sComments" id="extra_comments" rows=10 cols=65>';
+        echo '<td><textarea name="sComments" id="extra_comments" rows=20 cols=80 class="wysiwyg">';
         echo $this->sComments.'</textarea></td></tr>',"\n";
 
         /* Graphics hardware/driver




More information about the wine-cvs mailing list