Rosanne DiMesio : Use bootstrap alert for test report error messages.

Jeremy Newman jnewman at winehq.org
Mon Aug 14 10:57:16 CDT 2017


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

Author: Rosanne DiMesio <dimesio at earthlink.net>
Date:   Fri Aug 11 15:14:49 2017 -0500

Use bootstrap alert for test report error messages.

Makes the error message(s) more noticeable.

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

---

 include/objectManager.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/objectManager.php b/include/objectManager.php
index 2f19b64..50f5bf3 100644
--- a/include/objectManager.php
+++ b/include/objectManager.php
@@ -1795,10 +1795,11 @@ class ObjectManager
             if($sErrors == PREVIEW_ENTRY)
                 return TRUE;
 
+            echo "<div class='alert alert-danger' role='alert'>";
             echo "<p class=\"error\">\n";
-            echo "The following errors were found:\n";
+            echo "<b>The following errors were found:</b>\n";
             echo "<ul>$sErrors</ul>\n";
-            echo "</p>";
+            echo "</p></div>";
             return TRUE;
         } else
         {




More information about the wine-cvs mailing list