50 <th><fmt:message key="issue.id"/></th> |
50 <th><fmt:message key="issue.id"/></th> |
51 <td>${issue.id}</td> |
51 <td>${issue.id}</td> |
52 </tr> |
52 </tr> |
53 </c:if> |
53 </c:if> |
54 <tr> |
54 <tr> |
55 <th><fmt:message key="component"/></th> |
55 <th><label for="issue-component"><fmt:message key="component"/></label></th> |
56 <td> |
56 <td> |
57 <select name="component"> |
57 <select id="issue-component" name="component"> |
58 <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
58 <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
59 <c:forEach var="comp" items="${viewmodel.components}"> |
59 <c:forEach var="comp" items="${viewmodel.components}"> |
60 <option |
60 <option |
61 <c:if test="${not empty issue.component and comp eq issue.component}">selected</c:if> |
61 <c:if test="${not empty issue.component and comp eq issue.component}">selected</c:if> |
62 value="${comp.id}"><c:out value="${comp.name}"/></option> |
62 value="${comp.id}"><c:out value="${comp.name}"/></option> |
63 </c:forEach> |
63 </c:forEach> |
64 </select> |
64 </select> |
65 </td> |
65 </td> |
66 </tr> |
66 </tr> |
67 <tr> |
67 <tr> |
68 <th><fmt:message key="issue.category"/></th> |
68 <th><label for="issue-category"><fmt:message key="issue.category"/></label></th> |
69 <td> |
69 <td> |
70 <select name="category"> |
70 <select id="issue-category" name="category"> |
71 <c:forEach var="category" items="${viewmodel.issueCategory}"> |
71 <c:forEach var="category" items="${viewmodel.issueCategory}"> |
72 <option |
72 <option |
73 <c:if test="${category eq issue.category}">selected</c:if> |
73 <c:if test="${category eq issue.category}">selected</c:if> |
74 value="${category}"> |
74 value="${category}"> |
75 <fmt:message key="issue.category.${category}" /> |
75 <fmt:message key="issue.category.${category}" /> |
77 </c:forEach> |
77 </c:forEach> |
78 </select> |
78 </select> |
79 </td> |
79 </td> |
80 </tr> |
80 </tr> |
81 <tr> |
81 <tr> |
82 <th><fmt:message key="issue.status"/></th> |
82 <th><label for="issue-status"><fmt:message key="issue.status"/></label></th> |
83 <td> |
83 <td> |
84 <select name="status"> |
84 <select id="issue-status" name="status"> |
85 <c:forEach var="status" items="${viewmodel.issueStatus}"> |
85 <c:forEach var="status" items="${viewmodel.issueStatus}"> |
86 <option |
86 <option |
87 <c:if test="${status eq issue.status}">selected</c:if> |
87 <c:if test="${status eq issue.status}">selected</c:if> |
88 value="${status}"> |
88 value="${status}"> |
89 <fmt:message key="issue.status.${status}" /> |
89 <fmt:message key="issue.status.${status}" /> |
91 </c:forEach> |
91 </c:forEach> |
92 </select> |
92 </select> |
93 </td> |
93 </td> |
94 </tr> |
94 </tr> |
95 <tr> |
95 <tr> |
96 <th><fmt:message key="issue.subject"/></th> |
96 <th><label for="issue-subject"><fmt:message key="issue.subject"/></label></th> |
97 <td><input name="subject" type="text" maxlength="200" required value="<c:out value="${issue.subject}"/>" /></td> |
97 <td><input id="issue-subject" name="subject" type="text" maxlength="200" required value="<c:out value="${issue.subject}"/>" /></td> |
98 </tr> |
98 </tr> |
99 <tr> |
99 <tr> |
100 <th class="vtop"><fmt:message key="issue.description"/></th> |
100 <th class="vtop"><label for="issue-description"><fmt:message key="issue.description"/></label></th> |
101 <td> |
101 <td> |
102 <textarea name="description" rows="10"><c:out value="${issue.description}"/></textarea> |
102 <textarea id="issue-description" name="description" rows="10"><c:out value="${issue.description}"/></textarea> |
103 </td> |
103 </td> |
104 </tr> |
104 </tr> |
105 <tr> |
105 <tr> |
106 <th><fmt:message key="issue.assignee"/></th> |
106 <th><label for="issue-assignee"><fmt:message key="issue.assignee"/></label></th> |
107 <td> |
107 <td> |
108 <select name="assignee"> |
108 <select id="issue-assignee" name="assignee"> |
109 <option value="-2" title="<fmt:message key="placeholder.auto-assignee.tooltip"/>"><fmt:message key="placeholder.auto-assignee"/></option> |
109 <option value="-2" title="<fmt:message key="placeholder.auto-assignee.tooltip"/>"><fmt:message key="placeholder.auto-assignee"/></option> |
110 <option value="-1" |
110 <option value="-1" |
111 <c:if test="${issue.id ge 0 and empty issue.assignee}">selected</c:if> |
111 <c:if test="${issue.id ge 0 and empty issue.assignee}">selected</c:if> |
112 ><fmt:message key="placeholder.null-assignee"/></option> |
112 ><fmt:message key="placeholder.null-assignee"/></option> |
113 <c:forEach var="user" items="${viewmodel.users}"> |
113 <c:forEach var="user" items="${viewmodel.users}"> |
118 </select> |
118 </select> |
119 </td> |
119 </td> |
120 </tr> |
120 </tr> |
121 <c:if test="${issue.project.id ge 0}"> |
121 <c:if test="${issue.project.id ge 0}"> |
122 <tr> |
122 <tr> |
123 <th class="vtop"><fmt:message key="issue.affected-versions"/></th> |
123 <th class="vtop"><label for="issue-affected"><fmt:message key="issue.affected-versions"/></label></th> |
124 <td> |
124 <td> |
125 <c:set var="fieldname" value="affected"/> |
125 <c:set var="fieldname" value="affected"/> |
126 <c:set var="selectionList" value="${viewmodel.versionsRecent}"/> |
126 <c:set var="selectionList" value="${viewmodel.versionsRecent}"/> |
127 <c:set var="data" value="${issue.affectedVersions}" /> |
127 <c:set var="data" value="${issue.affectedVersions}" /> |
128 <%@include file="../jspf/version-list.jspf"%> |
128 <%@include file="../jspf/version-list.jspf"%> |
129 </td> |
129 </td> |
130 </tr> |
130 </tr> |
131 <tr> |
131 <tr> |
132 <th class="vtop"><fmt:message key="issue.resolved-versions"/></th> |
132 <th class="vtop"><label for="issue-resolved"><fmt:message key="issue.resolved-versions"/></label></th> |
133 <td> |
133 <td> |
134 <c:set var="fieldname" value="resolved"/> |
134 <c:set var="fieldname" value="resolved"/> |
135 <c:set var="selectionList" value="${viewmodel.versionsUpcoming}"/> |
135 <c:set var="selectionList" value="${viewmodel.versionsUpcoming}"/> |
136 <c:set var="data" value="${issue.resolvedVersions}" /> |
136 <c:set var="data" value="${issue.resolvedVersions}" /> |
137 <%@include file="../jspf/version-list.jspf"%> |
137 <%@include file="../jspf/version-list.jspf"%> |
138 </td> |
138 </td> |
139 </tr> |
139 </tr> |
140 </c:if> |
140 </c:if> |
141 <tr> |
141 <tr> |
142 <th><fmt:message key="issue.eta"/></th> |
142 <th><label for="issue-eta"><fmt:message key="issue.eta"/></label></th> |
143 <td><input name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="YYYY-MM-dd" />" /> </td> |
143 <td><input id="issue-eta" name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="YYYY-MM-dd" />" /> </td> |
144 </tr> |
144 </tr> |
|
145 <c:if test="${issue.id ge 0}"> |
|
146 <tr> |
|
147 <th class="vtop"><label for="issue-comment"><fmt:message key="issue.comment"/></label> </th> |
|
148 <td><textarea id="issue-comment" rows="3" name="comment"></textarea></td> |
|
149 </tr> |
|
150 </c:if> |
145 </tbody> |
151 </tbody> |
146 <tfoot> |
152 <tfoot> |
147 <tr> |
153 <tr> |
148 <td colspan="2"> |
154 <td colspan="2"> |
149 <input type="checkbox" id="more" name="more" <c:if test="${more}">checked</c:if> /> |
155 <input type="checkbox" id="more" name="more" <c:if test="${more}">checked</c:if> /> |