Skip to content
Permalink
Browse files

[FIX JENKINS-24580] Swap older/newer

  • Loading branch information
busches committed Nov 5, 2014
1 parent f7e8379 commit a612df622d8dc9b2e28caa0d821cc5bf87bf775e
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 a612df6

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