Skip to content

Commit

Permalink
Merge pull request #5 from busches/JENKINS-24580
Browse files Browse the repository at this point in the history
[FIX JENKINS-24580] Swap older/newer
  • Loading branch information
oleg-nenashev committed Nov 18, 2014
2 parents 722c23e + a612df6 commit 76fe862
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/hudson/tasks/junit/History/index.jelly
Expand Up @@ -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>
Expand All @@ -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.