| 72 <tr> |
72 <tr> |
| 73 <th><fmt:message key="issue.updated"/></th> |
73 <th><fmt:message key="issue.updated"/></th> |
| 74 <td><fmt:formatDate value="${issue.updated}" /></td> |
74 <td><fmt:formatDate value="${issue.updated}" /></td> |
| 75 </tr> |
75 </tr> |
| 76 <tr> |
76 <tr> |
| |
77 <th><fmt:message key="issue.component"/></th> |
| |
78 <td> |
| |
79 <select name="component"> |
| |
80 <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
| |
81 <c:forEach var="component" items="${viewmodel.components}"> |
| |
82 <option |
| |
83 <c:if test="${not empty issue.component and component eq issue.component}">selected</c:if> |
| |
84 value="${component.id}"><c:out value="${component.name}"/></option> |
| |
85 </c:forEach> |
| |
86 </select> |
| |
87 </td> |
| |
88 </tr> |
| |
89 <tr> |
| 77 <th><fmt:message key="issue.category"/></th> |
90 <th><fmt:message key="issue.category"/></th> |
| 78 <td> |
91 <td> |
| 79 <select name="category"> |
92 <select name="category"> |
| 80 <c:forEach var="category" items="${viewmodel.issueCategory}"> |
93 <c:forEach var="category" items="${viewmodel.issueCategory}"> |
| 81 <option |
94 <option |
| 152 <tfoot> |
165 <tfoot> |
| 153 <tr> |
166 <tr> |
| 154 <td colspan="2"> |
167 <td colspan="2"> |
| 155 <input type="hidden" name="id" value="${issue.id}"/> |
168 <input type="hidden" name="id" value="${issue.id}"/> |
| 156 <%-- TODO: fix #14 --%> |
169 <%-- TODO: fix #14 --%> |
| 157 <a href="./projects/${issue.project.id}/versions/" class="button"> |
170 <a href="./projects/${issue.project.node}/versions/" class="button"> |
| 158 <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/> |
171 <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/> |
| 159 </a> |
172 </a> |
| 160 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button> |
173 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button> |
| 161 </td> |
174 </td> |
| 162 </tr> |
175 </tr> |