Skip to content
Permalink
Browse files

[JENKINS-46033] Column ordering based on Status and JobName

Change-Id: I35bf35f5598eea962d20ff4c824d51f5fd89505f
  • Loading branch information...
v1v committed Aug 9, 2017
1 parent 44cc101 commit 533c320614cb8caea9391107f7f03b34449e680d
Showing with 10 additions and 10 deletions.
  1. +10 −10 src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
@@ -46,24 +46,24 @@
<j:forEach var="lint" items="${job.lintList}">
<j:if test="${!lint.isActive()}">
<j:if test="${!lint.isEnabled()}">
<td data="disabled" tooltip="disabled" style="background-color: #f0f0f0;"/>
<td data="disabled-${job.name}" tooltip="disabled" style="background-color: #f0f0f0;"/>
</j:if>
<j:if test="${lint.isEnabled()}">
<j:if test="${lint.isIgnored()}">
<td data="ignored" tooltip="ignored" style="background-color: #f9ef9e;"/>
<td data="ignored-${job.name}" tooltip="ignored" style="background-color: #f9ef9e;"/>
</j:if>
</j:if>
</j:if>
<j:if test="${lint.isActive()}">
<j:if test="${lint.found}">
<td data="found" tooltip="found" style="background-color: #FF8566;"/>
<td data="found-${job.name}" tooltip="found" style="background-color: #FF8566;"/>
</j:if>
<j:if test="${!lint.found}">
<td data="not_found" tooltip="not_found" style="background-color: #B8EEB8;"/>
<td data="not_found-${job.name}" tooltip="not_found" style="background-color: #B8EEB8;"/>
</j:if>
</j:if>
</j:forEach>
<td data="${job.getLintHealthReport().getScore()}"><img src="${rootURL}${job.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${job.getLintHealthReport().getDescription()}"/></td>
<td data="${job.getLintHealthReport().getScore()}-${job.name}"><img src="${rootURL}${job.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${job.getLintHealthReport().getDescription()}"/></td>
</tr>
</j:forEach>
</tbody>
@@ -143,24 +143,24 @@
<j:forEach var="lint" items="${slave.lintList}">
<j:if test="${!lint.isActive()}">
<j:if test="${!lint.isEnabled()}">
<td data="disabled" tooltip="disabled" style="background-color: #f0f0f0;"/>
<td data="disabled-${slave.name}" tooltip="disabled" style="background-color: #f0f0f0;"/>
</j:if>
<j:if test="${lint.isEnabled()}">
<j:if test="${lint.isIgnored()}">
<td data="ignored" tooltip="ignored" style="background-color: #f9ef9e;"/>
<td data="ignored-${slave.name}" tooltip="ignored" style="background-color: #f9ef9e;"/>
</j:if>
</j:if>
</j:if>
<j:if test="${lint.isActive()}">
<j:if test="${lint.found}">
<td data="found" tooltip="found" style="background-color: #FF8566;"/>
<td data="found-${slave.name}" tooltip="found" style="background-color: #FF8566;"/>
</j:if>
<j:if test="${!lint.found}">
<td data="not_found" tooltip="not_found" style="background-color: #B8EEB8;"/>
<td data="not_found-${slave.name}" tooltip="not_found" style="background-color: #B8EEB8;"/>
</j:if>
</j:if>
</j:forEach>
<td data="${slave.getLintHealthReport().getScore()}"><img src="${rootURL}${slave.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${slave.getLintHealthReport().getDescription()}"/></td>
<td data="${slave.getLintHealthReport().getScore()}-${slave.name}"><img src="${rootURL}${slave.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${slave.getLintHealthReport().getDescription()}"/></td>
</tr>
</j:forEach>
</tbody>

0 comments on commit 533c320

Please sign in to comment.
You can’t perform that action at this time.