We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e18ddd8 commit 8203208Copy full SHA for 8203208
core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly
@@ -34,14 +34,12 @@ THE SOFTWARE.
34
<!-- parent path -->
35
<div class="parentPath">
36
<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>
+ <a href="${topPath}">
+ <j:choose>
+ <j:when test="${empty(it.owner.name)}">${%Root}</j:when>
+ <j:otherwise>${it.owner.displayName}</j:otherwise>
+ </j:choose>
+ </a> /
45
<j:forEach var="p" items="${parentPath}">
46
<a href="${p.href}">${p.title}</a>
47
/
0 commit comments