--- a/src/main/webapp/WEB-INF/jsp/project-details.jsp Mon Oct 30 10:06:22 2023 +0100 +++ b/src/main/webapp/WEB-INF/jsp/project-details.jsp Mon Oct 30 14:44:36 2023 +0100 @@ -31,12 +31,12 @@ <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.ProjectDetails" scope="request" /> <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/> -<c:set var="component" scope="page" value="${viewmodel.component}"/> -<c:set var="version" scope="page" value="${viewmodel.version}"/> +<c:set var="component" scope="page" value="${viewmodel.componentDetails}"/> +<c:set var="issuesHref" value="./${viewmodel.pathInfos.issuesHref}"/> <%@include file="../jspf/project-header.jspf"%> <div> - <a href="./projects/${project.node}/issues/${empty version ? '-' : version.node}/${empty component ? '-' : component.node}/-/create" class="button"><fmt:message key="button.issue.create"/></a> + <a href=".${issuesHref}-/create" class="button"><fmt:message key="button.issue.create"/></a> <button onclick="toggleProjectDetails()" id="toggle-details-button"><fmt:message key="button.project.details"/></button> </div>