Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow up fix as pointed out by Daniel Beck.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,10 +29,10 @@ THE SOFTWARE. | |
<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"> | ||
<j:if test="${it.parent.logRotator!=null and it.canToggleLogKeep()}"> | ||
<form method="get" action="toggleLogKeep" style="margin-top:1em"> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
<j:if test="${it.keepLog}"> | ||
<j:if test="${it.keepLog and h.hasPermission(it,it.DELETE)}"> | ||
<f:submit value="${%Don't keep this build forever}" /> | ||
</j:if> | ||
<j:if test="${!it.keepLog}"> | ||
<j:if test="${!it.keepLog and h.hasPermission(it,it.UPDATE)}"> | ||
This comment has been minimized.
Sorry, something went wrong.
daniel-beck
Member
|
||
<f:submit value="${%Keep this build forever}" /> | ||
</j:if> | ||
</form> | ||
|
This form will be shown even if the button below is hidden. Not sure whether that affects behavior (#1093 had the same issue).