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 38550b2 commit e26bd8bCopy full SHA for e26bd8b
core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly
@@ -34,7 +34,14 @@ THE SOFTWARE.
34
<!-- parent path -->
35
<div class="parentPath">
36
<form>
37
- <a href="${topPath}">${it.owner.name}</a> /
+ <j:choose>
38
+ <j:when test="${request2.originalRequestURI.contains('/artifact/')}">
39
+ <a href="${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>
45
<j:forEach var="p" items="${parentPath}">
46
<a href="${p.href}">${p.title}</a>
47
/
0 commit comments