src/main/webapp/WEB-INF/jsp/issue-form.jsp

changeset 212
c50da26a6d31
parent 194
2b3b7d0a885e
child 214
69647ddb57f2
--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Tue Aug 03 14:46:04 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Tue Aug 03 15:10:43 2021 +0200
@@ -38,6 +38,7 @@
 <c:set var="issuesHref" value="./projects/${project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/"/>
 
 <form action="${issuesHref}-/commit" method="post">
+    <input type="hidden" name="project" value="${issue.project.id}" />
     <table class="formtable fullwidth">
         <colgroup>
             <col>
@@ -51,40 +52,6 @@
         </tr>
         </c:if>
         <tr>
-            <th><fmt:message key="project"/></th>
-            <td>
-                <c:choose>
-                    <c:when test="${issue.project.id ge 0}">
-                        <c:out value="${issue.project.name}" />
-                        <input type="hidden" name="project" value="${issue.project.id}" />
-                    </c:when>
-                    <c:otherwise>
-                        <select name="project" required>
-                            <c:forEach var="project" items="${viewmodel.projects}">
-                                <option value="${project.id}">
-                                    <c:out value="${project.name}" />
-                                </option>
-                            </c:forEach>
-                        </select>
-                    </c:otherwise>
-                </c:choose>
-            </td>
-        </tr>
-        <tr>
-            <th><fmt:message key="issue.created"/></th>
-            <td>
-                <c:set var="dateValue" value="${issue.created}"/>
-                <%@include file="../jspf/date-with-tooltip.jspf"%>
-            </td>
-        </tr>
-        <tr>
-            <th><fmt:message key="issue.updated"/></th>
-            <td>
-                <c:set var="dateValue" value="${issue.updated}"/>
-                <%@include file="../jspf/date-with-tooltip.jspf"%>
-            </td>
-        </tr>
-        <tr>
             <th><fmt:message key="component"/></th>
             <td>
                 <select name="component">

mercurial