提交 cf5cb707 编写于 作者: D Daniel Beck

Merge pull request #1237 from daniel-beck/JENKINS-22971

[FIX JENKINS-22971] Show full project name when in folder.
......@@ -28,8 +28,15 @@ THE SOFTWARE.
<st:include page="sidepanel.jelly" />
<l:main-panel>
<h1 class="job-index-headline page-headline">${it.pronoun} <l:breakable value="${it.displayName}"/></h1>
<j:if test="${(it.name!=it.displayName) and (it.class.name!='hudson.matrix.MatrixConfiguration')}"> <!-- TODO rather check for TopLevelItem (how to do this from Jelly?) -->
${%Project name}: ${it.fullName}
<j:if test="${(it.fullName!=it.fullDisplayName) and (it.class.name!='hudson.matrix.MatrixConfiguration')}"> <!-- TODO rather check for TopLevelItem (how to do this from Jelly?) -->
<j:choose>
<j:when test="${it.parent!=app}">
${%Full project name}: ${it.fullName}
</j:when>
<j:otherwise>
${%Project name}: ${it.fullName}
</j:otherwise>
</j:choose>
</j:if>
<t:editableDescription permission="${it.CONFIGURE}"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册