提交 7e93c448 编写于 作者: K Kohsuke Kawaguchi

Making ListViewColumns more self-contained

上级 27c21b19
......@@ -23,6 +23,7 @@ THE SOFTWARE.
-->
<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" xmlns:i="jelly:fmt">
<j:set var="lfBuild" value="${job.lastFailedBuild}"/>
<td data="${lfBuild.timestampString2 ?: '-'}">
<j:choose>
<j:when test="${lfBuild!=null}">
......@@ -34,4 +35,4 @@ THE SOFTWARE.
</j:otherwise>
</j:choose>
</td>
</j:jelly>
</j:jelly>
......@@ -23,6 +23,7 @@ THE SOFTWARE.
-->
<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" xmlns:i="jelly:fmt">
<j:set var="lsBuild" value="${job.lastSuccessfulBuild}"/>
<td data="${lsBuild.timestampString2 ?: '-'}">
<j:choose>
<j:when test="${lsBuild!=null}">
......
......@@ -28,13 +28,10 @@ THE SOFTWARE.
@job : job to draw
@indenter
-->
<j:jelly xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout"
xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<j:set var="lsBuild" value="${job.lastSuccessfulBuild}"/>
<j:set var="lfBuild" value="${job.lastFailedBuild}"/>
<j:jelly xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<tr class="${job.disabled?'disabledJob':null}">
<j:forEach var="col" items="${columnExtensions}">
<st:include page="column.jelly" it="${col}" />
<st:include page="column.jelly" it="${col}"/>
</j:forEach>
<td>
<st:nbsp/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册