--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp Sat Oct 17 15:21:56 2020 +0200 +++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp Sat Oct 17 19:56:50 2020 +0200 @@ -74,6 +74,19 @@ <td><fmt:formatDate value="${issue.updated}" /></td> </tr> <tr> + <th><fmt:message key="issue.component"/></th> + <td> + <select name="component"> + <option value="-1"><fmt:message key="placeholder.null-component"/></option> + <c:forEach var="component" items="${viewmodel.components}"> + <option + <c:if test="${not empty issue.component and component eq issue.component}">selected</c:if> + value="${component.id}"><c:out value="${component.name}"/></option> + </c:forEach> + </select> + </td> + </tr> + <tr> <th><fmt:message key="issue.category"/></th> <td> <select name="category"> @@ -154,7 +167,7 @@ <td colspan="2"> <input type="hidden" name="id" value="${issue.id}"/> <%-- TODO: fix #14 --%> - <a href="./projects/${issue.project.id}/versions/" class="button"> + <a href="./projects/${issue.project.node}/versions/" class="button"> <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/> </a> <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button>