提交 a7518345 编写于 作者: K kohsuke

provide a restart link if Hudson can restart itself

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18453 71c3de6d-444a-0410-be80-ed276b4c234a
上级 415c809f
......@@ -63,7 +63,7 @@ THE SOFTWARE.
</j:if>
</div>
</td>
<td class="center pane" style="white-space:no-wrap">
<td class="center pane" style="white-space:nowrap">
${p.version}
</td>
</tr>
......@@ -92,8 +92,13 @@ THE SOFTWARE.
</div>
</div>
</j:if>
<div class="error" id="needRestart" style="display:none; margin: 1em; height: 1em">
${%Changes will take effect when you restart Hudson}
<div class="warning" id="needRestart" style="display:none; margin: 1em; height: 1em">
<form method="post" action="${rootURL}/restart">
${%Changes will take effect when you restart Hudson}
<j:if test="${app.lifecycle.canRestart()}">
<s:submit value="${%Restart Now}" />
</j:if>
</form>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册