Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[FIXED JENKINS-15959] Added some more details to fixed warnings view.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 12, 2013
1 parent 9590aa5 commit 1081a01
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions 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>
Expand Down

0 comments on commit 1081a01

Please sign in to comment.