Skip to content

Commit

Permalink
Add delete action as separate task
Browse files Browse the repository at this point in the history
Based on users feedback.
  • Loading branch information
vjuranek committed Jun 17, 2013
1 parent d896427 commit 8ddb605
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions src/main/resources/builder/smartfrog/SmartFrogAction/action.jelly
@@ -1,14 +1,17 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<l:tasks>
<l:task icon="${h.getIconFilePath(action)}" title="${action.displayName}" href="${h.getActionUrl(it.url,action)}">
<j:if test="${!it.building}">
<l:task icon="images/24x24/edit-delete.png" href="${h.getActionUrl(it.url,action)}/confirmDelete"
title="${%Delete} ${action.displayName}" permission="${it.DELETE}" />
</j:if>
</l:task>
<div style="text-align:left;margin-left:28px;">
<st:nbsp/>Log size: <font color="gray">${action.readableLogSize}</font>
</div>
<l:task icon="${h.getIconFilePath(action)}" title="${action.displayName}" href="${h.getActionUrl(it.url,action)}" />
<j:if test="${!it.building}">
<div style="text-align:left;margin-left:28px;">
<st:nbsp />
Log size:
<font color="gray">${action.readableLogSize}</font>
</div>
</j:if>
</l:tasks>
<j:if test="${!it.building}">
<l:task icon="images/24x24/edit-delete.png" href="${h.getActionUrl(it.url,action)}/confirmDelete" title="${%Delete} ${action.displayName}"
permission="${it.DELETE}" />
</j:if>
</j:jelly>

0 comments on commit 8ddb605

Please sign in to comment.