Signed-off-by: Richard Marko <rma...@redhat.com>
---
 .../webapp/WEB-INF/pages/systems/sdc/overview.jsp  |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp 
b/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp
index 94eba0d..afed8cb 100644
--- a/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp
+++ b/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp
@@ -345,6 +345,26 @@
       </tr>
     </table>
   </div>
+  <div style="width: 45%; float: left;">
+    <h2>Application crashes</h2>
+    <table class="details">
+      <c:choose>
+        <c:when test="${system.crashes.created == null}">
+          To get application crash data install spacewalk-abrt on this system.
+        </c:when>
+        <c:otherwise>
+          <tr>
+            <th>Last report</th>
+            <td><fmt:formatDate value="${system.crashes.created}" type="both" 
dateStyle="short" timeStyle="long"/></td>
+          </tr>
+          <tr>
+            <th>Crash count</th>
+            <td><c:out value="${system.crashes.crashCount}"/></td>
+          </tr>
+        </c:otherwise>
+      </c:choose>
+    </table>
+  </div>
   <div style="clear: left; width: 45%; float: left; line-height: 200%">
     <h2><bean:message key="sdc.details.overview.subscribedchannels" 
arg0="/rhn/systems/details/SystemChannels.do?sid=${system.id}"/></h2>
 
-- 
1.7.10.4

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to