29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
30 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
30 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
31 |
31 |
32 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueDetailView" scope="request"/> |
32 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueDetailView" scope="request"/> |
33 |
33 |
34 <c:set var="project" scope="page" value="${viewmodel.project}"/> |
34 <c:set var="project" scope="page" value="${viewmodel.issue.project}"/> |
35 <c:set var="issue" scope="page" value="${viewmodel.issue}" /> |
35 <c:set var="issue" scope="page" value="${viewmodel.issue}" /> |
36 |
36 |
37 <c:set var="issuesHref" scope="page" value="./${viewmodel.pathInfos.issuesHref}"/> |
37 <c:set var="issuesHref" value="./issues/"/> |
|
38 <c:if test="${not empty viewmodel.pathInfos}"> |
|
39 <c:set var="issuesHref" value="./${viewmodel.pathInfos.issuesHref}"/> |
|
40 </c:if> |
38 |
41 |
39 <table class="issue-view fullwidth"> |
42 <table class="issue-view fullwidth"> |
40 <colgroup> |
43 <colgroup> |
41 <col> |
44 <col> |
42 <col style="width: 50%"> |
45 <col style="width: 50%"> |