提交 e83ebcce 编写于 作者: K kohsuke

<tt>X-Hudson</tt> header was sent for all views, not just the top page.

    (<a href="http://www.netbeans.org/issues/show_bug.cgi?id=165067">report</a>)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18089 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b25351cc
......@@ -23,7 +23,9 @@ THE SOFTWARE.
-->
<st:compress 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">
<st:header name="X-Hudson" value="${servletContext.getAttribute('version')}" />
<j:if test="${request.servletPath=='/'}">
<st:header name="X-Hudson" value="${servletContext.getAttribute('version')}" />
</j:if>
<j:new var="h" className="hudson.Functions" /><!-- instead of JSP functions -->
<l:layout title="${it.class.name=='hudson.model.AllView' ? '%Dashboard' : it.viewName}">
<st:include page="sidepanel.jelly" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册