提交 2d5ad2ed 编写于 作者: K kohsuke

fixed #310.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2236 71c3de6d-444a-0410-be80-ed276b4c234a
上级 7207c85f
......@@ -57,7 +57,9 @@
<tr><td>
<t:buildProgressBar build="${build}"/>
</td><td style="padding:0">
<a href="${link}stop"><img src="${rootURL}/images/16x16/stop.gif" alt="[cancel]"/></a>
<l:isAdmin>
<a href="${link}stop"><img src="${rootURL}/images/16x16/stop.gif" alt="[cancel]"/></a>
</l:isAdmin>
</td></tr>
</table>
</td></tr>
......
......@@ -11,7 +11,9 @@
</td><td>
<t:buildProgressBar build="${it}"/>
</td><td>
<a href="stop"><img src="${rootURL}/images/16x16/stop.gif" alt="[cancel]" /></a>
<l:isAdmin>
<a href="stop"><img src="${rootURL}/images/16x16/stop.gif" alt="[cancel]" /></a>
</l:isAdmin>
</td>
</tr></table>
</div>
......
......@@ -46,7 +46,9 @@
<t:buildProgressBar build="${e.currentBuild}"/>
</td>
<td class="pane" width="16" align="center" valign="middle">
<a href="${rootURL}/computers/${cloop.index}/executors/${eloop.index}/stop"><img src="${rootURL}/images/16x16/stop.gif" alt="terminate this build" /></a>
<l:isAdmin>
<a href="${rootURL}/computers/${cloop.index}/executors/${eloop.index}/stop"><img src="${rootURL}/images/16x16/stop.gif" alt="terminate this build" /></a>
</l:isAdmin>
</td>
</j:otherwise>
</j:choose>
......
......@@ -38,8 +38,10 @@
</script>
</td>
<td class="pane" width="16" align="center" valign="middle">
<a href="${rootURL}/${item.project.url}cancelQueue"><img src="${rootURL}/images/16x16/stop.gif" alt="cancel this build" /></a>
</td>
<l:isAdmin>
<a href="${rootURL}/${item.project.url}cancelQueue"><img src="${rootURL}/images/16x16/stop.gif" alt="cancel this build" /></a>
</l:isAdmin>
</td>
</tr>
</j:forEach>
</j:otherwise>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册