Skip to content
Permalink
Browse files

Merge pull request #5 from busches/JENKINS-24580

[FIX JENKINS-24580] Swap older/newer
  • Loading branch information
oleg-nenashev committed Nov 18, 2014
2 parents 722c23e + a612df6 commit 76fe8629b9e7c8f77c0115e167c150e9646280a4
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/main/resources/hudson/tasks/junit/History/index.jelly
@@ -57,7 +57,7 @@ THE SOFTWARE.
<div align="center">
show
<a id="count-link" href="#" onclick='javascript:setCount()'>count</a>
<a id="duration-link" href="#" onclick="javascript:setDuration()" style="display:none;">duration</a>
<a id="duration-link" href="#" onclick="javascript:setDuration()" style="display:none;">duration</a>
</div>
</j:when>
<j:otherwise>
@@ -66,14 +66,14 @@ THE SOFTWARE.
</j:choose>
<st:include from="${it.testObject}" it="${it.testObject}" page="list.jelly" optional="true"/>
<div>
<j:if test="${start > 0}">
<a href="${app.rootUrl}${it.testObject.run.url}testReport${it.testObject.url}/history${(start-25)>0?'?start='+(start-25):''}">${%Newer}</a>
</j:if>

<j:if test="${it.testObject.run.parent.builds.size() > end}">
<a href="${app.rootUrl}${it.testObject.run.url}testReport${it.testObject.url}/history?start=${end+1}">${%Older}</a>
</j:if>

<j:if test="${start > 0}">
<a href="${app.rootUrl}${it.testObject.run.url}testReport${it.testObject.url}/history${(start-25)>0?'?start='+(start-25):''}">${%Newer}</a>
</j:if>  
</div>
</l:main-panel>
</l:layout>
</j:jelly>
</j:jelly>

0 comments on commit 76fe862

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