Fix bug with fail WS tests
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Mon, 16 Sep 2013 16:21:35 +0000 (17:21 +0100)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Mon, 16 Sep 2013 16:21:35 +0000 (17:21 +0100)
statpages/ServicesStatus.jsp

index 7f5ffcd..b3b60f0 100644 (file)
@@ -57,7 +57,7 @@ TODO refactor
                        <pre>${res.details}</pre>\r
                        </div></div></td>\r
                </c:if>\r
-               <c:if test="false == ${res.status}">\r
+               <c:if test="${!res.status}">\r
                        <td><div class="source">\r
                        <div class="header collapsed" onclick="$(this).toggleClassName('collapsed'); $(this).next('.body').toggleClassName('collapsed');"\r
                                title="Click to open/close"><span style="color: red">Fail</span></div>\r
@@ -107,7 +107,7 @@ TODO refactor
                        <pre>${res.details}</pre>\r
                        </div></div></td>\r
                </c:if>\r
-               <c:if test="false == ${res.status}">\r
+               <c:if test="${!res.status}">\r
                        <td><div class="source">\r
                        <div class="header collapsed" onclick="$(this).toggleClassName('collapsed'); $(this).next('.body').toggleClassName('collapsed');"\r
                                title="Click to open/close"><span style="color: red">Fail</span></div>\r
@@ -157,7 +157,7 @@ TODO refactor
                        <pre>${res.details}</pre>\r
                        </div></div></td>\r
                </c:if>\r
-               <c:if test="false == ${res.status}">\r
+               <c:if test="${!res.status}">\r
                        <td><div class="source">\r
                        <div class="header collapsed" onclick="$(this).toggleClassName('collapsed'); $(this).next('.body').toggleClassName('collapsed');"\r
                                title="Click to open/close"><span style="color: red">Fail</span></div>\r