Skip to content

Commit 8203208

Browse files
committed
Change as per requirement
1 parent e18ddd8 commit 8203208

File tree

1 file changed

+6
-8
lines changed
  • core/src/main/resources/hudson/model/DirectoryBrowserSupport

1 file changed

+6
-8
lines changed

core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,12 @@ THE SOFTWARE.
3434
<!-- parent path -->
3535
<div class="parentPath">
3636
<form>
37-
<j:choose>
38-
<j:when test="${request2.originalRequestURI.contains('/artifact/')}">
39-
<a href="${rootURL}/${it.owner.url}artifact/">${%Root}</a> /
40-
</j:when>
41-
<j:otherwise>
42-
<a href="${topPath}">${it.owner.name}</a> /
43-
</j:otherwise>
44-
</j:choose>
37+
<a href="${topPath}">
38+
<j:choose>
39+
<j:when test="${empty(it.owner.name)}">${%Root}</j:when>
40+
<j:otherwise>${it.owner.displayName}</j:otherwise>
41+
</j:choose>
42+
</a> /
4543
<j:forEach var="p" items="${parentPath}">
4644
<a href="${p.href}">${p.title}</a>
4745
/

0 commit comments

Comments
 (0)