提交 e3d3a976 编写于 作者: D drulli

Added a space between Test Result link and Result Value.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29286 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f3ad3ab4
......@@ -47,6 +47,7 @@ THE SOFTWARE.
<j:if test="${tr!=null}">
<t:summary icon="clipboard.gif">
<a href="lastCompletedBuild/testReport/">${%Latest Test Result}</a>
<b> </b>
<t:test-result it="${tr}" />
</t:summary>
</j:if>
......
......@@ -24,10 +24,10 @@ 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">
<script type="text/javascript">
function showFailures() {
var elms = document.getElementsByClassName("hidden");
for(var i = 0; i &lt; elms.length; i++) {
elms[i].style.display = "";
......@@ -36,16 +36,17 @@ THE SOFTWARE.
elm.style.display = "none";
}
</script>
<!-- summary -->
<t:summary icon="clipboard.gif">
<a href="${it.urlName}/">${it.displayName}</a>
<b> </b>
<t:test-result />
<j:set var="failedTests" value="${it.failedTests}" />
<j:if test="${failedTests != null}">
<j:set var="failedIterator" value="${failedTests.iterator()}" />
<j:set var="displayedCount" value="${1}" />
<j:set var="displayedCount" value="${1}" />
<ul style="list-style-type: none; margin: 0;">
<j:while test="${failedIterator.hasNext()}">
<j:set var="testObject" value="${failedIterator.next()}" />
......@@ -77,6 +78,6 @@ THE SOFTWARE.
onclick="javascript:showFailures()">${%Show all failed tests} ${">>>"}</a>
</j:if>
</j:if>
</t:summary>
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册