29 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
29 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
30 |
30 |
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.ProjectDetails" scope="request" /> |
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.ProjectDetails" scope="request" /> |
32 |
32 |
33 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/> |
33 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/> |
34 <c:set var="component" scope="page" value="${viewmodel.component}"/> |
34 <c:set var="component" scope="page" value="${viewmodel.componentDetails}"/> |
35 <c:set var="version" scope="page" value="${viewmodel.version}"/> |
35 <c:set var="issuesHref" value="./${viewmodel.pathInfos.issuesHref}"/> |
36 <%@include file="../jspf/project-header.jspf"%> |
36 <%@include file="../jspf/project-header.jspf"%> |
37 |
37 |
38 <div> |
38 <div> |
39 <a href="./projects/${project.node}/issues/${empty version ? '-' : version.node}/${empty component ? '-' : component.node}/-/create" class="button"><fmt:message key="button.issue.create"/></a> |
39 <a href=".${issuesHref}-/create" class="button"><fmt:message key="button.issue.create"/></a> |
40 <button onclick="toggleProjectDetails()" id="toggle-details-button"><fmt:message key="button.project.details"/></button> |
40 <button onclick="toggleProjectDetails()" id="toggle-details-button"><fmt:message key="button.project.details"/></button> |
41 </div> |
41 </div> |
42 |
42 |
43 <h3><fmt:message key="issue.filter" /></h3> |
43 <h3><fmt:message key="issue.filter" /></h3> |
44 <%@include file="../jspf/issue-filter.jspf"%> |
44 <%@include file="../jspf/issue-filter.jspf"%> |