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

changeset 292
703591e739f4
parent 231
dcb1d5a7ea3a
child 305
26e7f895f0f8
--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Mon Oct 30 10:06:22 2023 +0100
+++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Mon Oct 30 14:44:36 2023 +0100
@@ -32,10 +32,7 @@
 
 <c:set var="issue" scope="page" value="${viewmodel.issue}" />
 <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="issuesHref" value="./projects/${project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/"/>
+<c:set var="issuesHref" value="./${viewmodel.pathInfos.issuesHref}"/>
 
 <form action="${issuesHref}-/commit" method="post">
     <input type="hidden" name="project" value="${issue.project.id}" />

mercurial