mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
[JENKINS-72288] fix nested job link in mobile view (#8765)
[JENKINS-72288] fix inested job link in mobile view when a view contains jobs that are from a nested folder, the links where not properly calculated.
This commit is contained in:
1 parent
7df7ae4a85
commit
cc4e8e72e0
1 file changed
+1
@@ -90,6 +90,7 @@ THE SOFTWARE.
|
||||
<div class="jenkins-jobs-list jenkins-mobile-show">
|
||||
<j:forEach var="job" items="${jobs}">
|
||||
<j:set var="relativeLinkToJob" value="${h.getRelativeLinkTo(job)}"/>
|
||||
<j:set var="jobBaseUrl" value="${relativeLinkToJob.substring(0, relativeLinkToJob.length() - job.shortUrl.length())}"/>
|
||||
<div class="jenkins-jobs-list__item">
|
||||
<a class="jenkins-jobs-list__item__details" href="${jobBaseUrl}${job.shortUrl}">
|
||||
<div class="jenkins-jobs-list__item__icons">
|
||||
|
||||
Reference in new issue
Block a user