提交 9cea6dea 编写于 作者: J Jesse Farinacci

HUDSON-8252 FIXED offline slaves wasting space in status list

There is a lot of wasted space on the Build Executor Status when
slave nodes are offline. The space can be reclaimed by simply
not displaying offline executors for offline slaves.
上级 634693b2
......@@ -126,12 +126,16 @@ THE SOFTWARE.
</j:otherwise>
</j:choose>
</tr>
<j:forEach var="e" items="${c.executors}" varStatus="eloop">
<local:executor name="${eloop.index+1}" url="executors/${eloop.index}" />
</j:forEach>
<j:forEach var="e" items="${c.oneOffExecutors}" varStatus="eloop">
<local:executor name="" url="oneOffExecutors/${eloop.index}" />
</j:forEach>
<j:choose>
<j:when test="${!c.offline}">
<j:forEach var="e" items="${c.executors}" varStatus="eloop">
<local:executor name="${eloop.index+1}" url="executors/${eloop.index}" />
</j:forEach>
<j:forEach var="e" items="${c.oneOffExecutors}" varStatus="eloop">
<local:executor name="" url="oneOffExecutors/${eloop.index}" />
</j:forEach>
</j:when>
</j:choose>
</j:forEach>
</l:pane>
<!-- schedule updates only for the full page reload -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册