28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
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 |
30 |
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueEditView" scope="request"/> |
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueEditView" scope="request"/> |
32 <c:set var="issue" scope="page" value="${viewmodel.issue}" /> |
32 <c:set var="issue" scope="page" value="${viewmodel.issue}" /> |
33 <c:set var="versions" value="${viewmodel.versions}" /> |
|
34 |
33 |
35 <form action="./projects/issues/commit" method="post"> |
34 <form action="./projects/issues/commit" method="post"> |
36 <table class="formtable"> |
35 <table class="formtable"> |
37 <colgroup> |
36 <colgroup> |
38 <col> |
37 <col> |
113 <c:if test="${issue.project.id ge 0}"> |
112 <c:if test="${issue.project.id ge 0}"> |
114 <tr> |
113 <tr> |
115 <th class="vtop"><fmt:message key="issue.affected-versions"/></th> |
114 <th class="vtop"><fmt:message key="issue.affected-versions"/></th> |
116 <td> |
115 <td> |
117 <c:set var="fieldname" value="affected"/> |
116 <c:set var="fieldname" value="affected"/> |
|
117 <c:set var="selectionList" value="${viewmodel.versionsRecent}"/> |
118 <c:set var="data" value="${issue.affectedVersions}" /> |
118 <c:set var="data" value="${issue.affectedVersions}" /> |
119 <%@include file="../jspf/version-list.jsp"%> |
119 <%@include file="../jspf/version-list.jsp"%> |
120 </td> |
120 </td> |
121 </tr> |
121 </tr> |
122 <tr> |
122 <tr> |
123 <th class="vtop"><fmt:message key="issue.resolved-versions"/></th> |
123 <th class="vtop"><fmt:message key="issue.resolved-versions"/></th> |
124 <td> |
124 <td> |
125 <c:set var="fieldname" value="resolved"/> |
125 <c:set var="fieldname" value="resolved"/> |
|
126 <c:set var="selectionList" value="${viewmodel.versionsUpcoming}"/> |
126 <c:set var="data" value="${issue.resolvedVersions}" /> |
127 <c:set var="data" value="${issue.resolvedVersions}" /> |
127 <%@include file="../jspf/version-list.jsp"%> |
128 <%@include file="../jspf/version-list.jsp"%> |
128 </td> |
129 </td> |
129 </tr> |
130 </tr> |
130 </c:if> |
131 </c:if> |