提交 0bcf2f74 编写于 作者: K Kohsuke Kawaguchi

handle non-Job Items gracefully

上级 f2d8d3dd
......@@ -37,10 +37,12 @@ THE SOFTWARE.
<x:attribute name="onmouseover">this.className='healthReport hover';return true;
</x:attribute>
<x:attribute name="onmouseout">this.className='healthReport';return true;</x:attribute>
<a href="${empty(link)?'#':link}" style="${attrs.style}">
<img src="${rootURL}${buildHealth.getIconUrl(iconSize)}"
alt="${buildHealth.score}%"/>
</a>
<j:if test="${buildHealth!=null}">
<a href="${empty(link)?'#':link}" style="${attrs.style}">
<img src="${rootURL}${buildHealth.getIconUrl(iconSize)}"
alt="${buildHealth.score}%"/>
</a>
</j:if>
<j:set var="healthReports" value="${job.buildHealthReports}"/>
<j:if test="${!empty(healthReports)}">
<div class="healthReportDetails">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册