提交 b79f833d 编写于 作者: J Jesse Glick

Merge branch 'fix-build-icon' of github.com:olivergondza/jenkins into olivergondza-fix-build-icon

...@@ -31,15 +31,17 @@ THE SOFTWARE. ...@@ -31,15 +31,17 @@ THE SOFTWARE.
<j:choose> <j:choose>
<j:when test="${job.parameterized}"> <j:when test="${job.parameterized}">
<j:set var="title" value="${%Schedule a build with parameters}"/> <j:set var="title" value="${%Schedule a build with parameters}"/>
<j:set var="onclick" value="${null}"/>
</j:when> </j:when>
<j:otherwise> <j:otherwise>
<j:set var="title" value="${%Schedule a build}"/> <j:set var="title" value="${%Schedule a build}"/>
<j:set var="onclick" value="return build_${id}(this)"/>
</j:otherwise> </j:otherwise>
</j:choose> </j:choose>
<j:set var="icon" value="${app.queue.contains(job) ? 'clock_anime.gif' : 'clock.png'}"/> <j:set var="icon" value="${app.queue.contains(job) ? 'clock_anime.gif' : 'clock.png'}"/>
<img src="${imagesURL}/${subIconSize}/${icon}" <img src="${imagesURL}/${subIconSize}/${icon}"
title="${title}" alt="${title}" title="${title}" alt="${title}"
onclick="return build_${id}(this)" onclick="${onclick}"
border="0"/> border="0"/>
</a> </a>
<script> <script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册