提交 02ab7484 编写于 作者: K Kohsuke Kawaguchi

[JENKINS-16417]

Follow up fix as pointed out by Daniel Beck.
上级 f1e44404
...@@ -29,10 +29,10 @@ THE SOFTWARE. ...@@ -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: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()}"> <j:if test="${it.parent.logRotator!=null and it.canToggleLogKeep()}">
<form method="get" action="toggleLogKeep" style="margin-top:1em"> <form method="get" action="toggleLogKeep" style="margin-top:1em">
<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}" /> <f:submit value="${%Don't keep this build forever}" />
</j:if> </j:if>
<j:if test="${!it.keepLog}"> <j:if test="${!it.keepLog and h.hasPermission(it,it.UPDATE)}">
<f:submit value="${%Keep this build forever}" /> <f:submit value="${%Keep this build forever}" />
</j:if> </j:if>
</form> </form>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册