Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[FIXED JENKINS-15959] Added some more details to fixed warnings view.
  • Loading branch information
uhafner committed Feb 12, 2013
1 parent 9590aa5 commit 1081a0146c70a999e3961557bfa2510c5a1ccdf4
Showing with 20 additions and 5 deletions.
  1. +20 −5 src/main/resources/result/fixed.jelly
@@ -1,22 +1,37 @@
<!--
Section header
-->
<!-- Section header -->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout"
xmlns:t="/lib/hudson" xmlns:f="/lib/form">

<st:header name="Content-Type" value="text/html;charset=UTF-8" />
<j:set var="annotations" value="${it.container.annotations}" />
<table class="pane sortable" id="fixed">
<tr>
<td class="pane-header">${%File}</td>
<td class="pane-header">${%Line}</td>
<td class="pane-header">${%Warning Type}</td>
<td class="pane-header">${%Priority}</td>
<td class="pane-header">${%Type}</td>
<td class="pane-header">${%Category}</td>
</tr>
<tbody>
<j:forEach var="warning" items="${annotations}">
<tr>
<td class="pane">${warning.shortFileName}</td>
<td class="pane">
<j:choose>
<j:when test="${warning.primaryLineNumber &lt; 1}">
-
</j:when>
<j:otherwise>
${warning.primaryLineNumber}
</j:otherwise>
</j:choose>
</td>
<td class="pane">${warning.type}</td>
<td class="pane">${warning.priority.localizedString} </td>
<td class="pane">${warning.type} </td>
<td class="pane">${warning.category} </td>
</tr>
</j:forEach>
</tbody>

0 comments on commit 1081a01

Please sign in to comment.