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

changeset 231
dcb1d5a7ea3a
parent 227
f0ede8046b59
child 292
703591e739f4
equal deleted inserted replaced
230:95b419e054fa 231:dcb1d5a7ea3a
123 </tr> 123 </tr>
124 <c:if test="${issue.project.id ge 0}"> 124 <c:if test="${issue.project.id ge 0}">
125 <tr> 125 <tr>
126 <th class="vtop"><label for="issue-affected"><fmt:message key="issue.affected-versions"/></label></th> 126 <th class="vtop"><label for="issue-affected"><fmt:message key="issue.affected-versions"/></label></th>
127 <td> 127 <td>
128 <c:set var="fieldname" value="affected"/> 128 <select id="issue-affected" name="affected">
129 <c:set var="selectionList" value="${viewmodel.versionsRecent}"/> 129 <option value="-1"><fmt:message key="placeholder.null-version"/></option>
130 <c:set var="data" value="${issue.affectedVersions}" /> 130 <c:forEach var="vselitem" items="${viewmodel.versionsRecent}">
131 <%@include file="../jspf/version-list.jspf"%> 131 <option value="${vselitem.id}" <c:if test="${issue.affected eq vselitem}">selected</c:if> >
132 <c:out value="${vselitem.name}" />
133 </option>
134 </c:forEach>
135 </select>
132 </td> 136 </td>
133 </tr> 137 </tr>
134 <tr> 138 <tr>
135 <th class="vtop"><label for="issue-resolved"><fmt:message key="issue.resolved-versions"/></label></th> 139 <th class="vtop"><label for="issue-resolved"><fmt:message key="issue.resolved-versions"/></label></th>
136 <td> 140 <td>
137 <c:set var="fieldname" value="resolved"/> 141 <select id="issue-resolved" name="resolved">
138 <c:set var="selectionList" value="${viewmodel.versionsUpcoming}"/> 142 <option value="-1"><fmt:message key="placeholder.null-version"/></option>
139 <c:set var="data" value="${issue.resolvedVersions}" /> 143 <c:forEach var="vselitem" items="${viewmodel.versionsUpcoming}">
140 <%@include file="../jspf/version-list.jspf"%> 144 <option value="${vselitem.id}" <c:if test="${issue.resolved eq vselitem}">selected</c:if> >
145 <c:out value="${vselitem.name}" />
146 </option>
147 </c:forEach>
148 </select>
141 </td> 149 </td>
142 </tr> 150 </tr>
143 </c:if> 151 </c:if>
144 <tr> 152 <tr>
145 <th><label for="issue-eta"><fmt:message key="issue.eta"/></label></th> 153 <th><label for="issue-eta"><fmt:message key="issue.eta"/></label></th>

mercurial