Tue, 11 May 2021 17:36:00 +0200
fixes #134 - automatic version selection
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | |
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | <select name="${fieldname}" multiple> |
90
2c74e36752f9
only show relevant versions in issue editor
Mike Becker <universe@uap-core.de>
parents:
83
diff
changeset
|
4 | <c:forEach var="vselitem" items="${selectionList}"> |
2c74e36752f9
only show relevant versions in issue editor
Mike Becker <universe@uap-core.de>
parents:
83
diff
changeset
|
5 | <option value="${vselitem.id}" |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | <c:forEach var="v" items="${data}"> |
90
2c74e36752f9
only show relevant versions in issue editor
Mike Becker <universe@uap-core.de>
parents:
83
diff
changeset
|
7 | <c:if test="${v eq vselitem}">selected</c:if> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | </c:forEach> |
178
88207b860cba
automatically select version/component when creating new issues under active filters
Mike Becker <universe@uap-core.de>
parents:
115
diff
changeset
|
9 | <c:if test="${vid eq vselitem.id}">selected</c:if> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | > |
90
2c74e36752f9
only show relevant versions in issue editor
Mike Becker <universe@uap-core.de>
parents:
83
diff
changeset
|
11 | <c:out value="${vselitem.name}" /> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | </option> |
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | </c:forEach> |
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | </select> |