Skip to content

Commit

Permalink
[FIX JENKINS-22971] Show full project name when in folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Jun 29, 2014
1 parent 016f304 commit e761d2f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions core/src/main/resources/hudson/model/Job/index.jelly
Expand Up @@ -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}"/>

Expand Down

0 comments on commit e761d2f

Please sign in to comment.