src/main/webapp/WEB-INF/jsp/issue-view.jsp

changeset 292
703591e739f4
parent 284
671c1c8fbf1c
child 311
bf67e0ff7131
--- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Mon Oct 30 10:06:22 2023 +0100
+++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Mon Oct 30 14:44:36 2023 +0100
@@ -32,11 +32,9 @@
 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueDetailView" scope="request"/>
 
 <c:set var="project" scope="page" value="${viewmodel.project}"/>
-<c:set var="component" scope="page" value="${viewmodel.component}"/>
-<c:set var="version" scope="page" value="${viewmodel.version}"/>
 <c:set var="issue" scope="page" value="${viewmodel.issue}" />
 
-<c:set var="issuesHref" scope="page" value="./projects/${project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/"/>
+<c:set var="issuesHref" scope="page" value="./${viewmodel.pathInfos.issuesHref}"/>
 
 <table class="issue-view fullwidth">
     <colgroup>

mercurial