Sun, 23 Jul 2023 18:17:03 +0200
add SQL patch script
relates to #276
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | <%-- |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | |
180 | 4 | Copyright 2021 Mike Becker. All rights reserved. |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | Redistribution and use in source and binary forms, with or without |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | modification, are permitted provided that the following conditions are met: |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | 1. Redistributions of source code must retain the above copyright |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | notice, this list of conditions and the following disclaimer. |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
11 | |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | 2. Redistributions in binary form must reproduce the above copyright |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | notice, this list of conditions and the following disclaimer in the |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | documentation and/or other materials provided with the distribution. |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
26 | --%> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | <%@page pageEncoding="UTF-8" %> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
30 | |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
85
diff
changeset
|
31 | <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueEditView" scope="request"/> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | |
184
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
33 | <c:set var="issue" scope="page" value="${viewmodel.issue}" /> |
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
34 | <c:set var="project" scope="page" value="${viewmodel.project}"/> |
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
35 | <c:set var="component" scope="page" value="${viewmodel.component}"/> |
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
36 | <c:set var="version" scope="page" value="${viewmodel.version}"/> |
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
37 | |
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
38 | <c:set var="issuesHref" value="./projects/${project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/"/> |
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
39 | |
186
05eec764facd
fixes some minor migration regressions
Mike Becker <universe@uap-core.de>
parents:
185
diff
changeset
|
40 | <form action="${issuesHref}-/commit" method="post"> |
212
c50da26a6d31
#154 improves issue view
Mike Becker <universe@uap-core.de>
parents:
194
diff
changeset
|
41 | <input type="hidden" name="project" value="${issue.project.id}" /> |
124 | 42 | <table class="formtable fullwidth"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
43 | <colgroup> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
44 | <col> |
124 | 45 | <col style="width: 100%"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
46 | </colgroup> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
47 | <tbody> |
113
eba08a3a7eb2
fixes #18 : Remove "Issue ID" from "New Issue" form
Mike Becker <universe@uap-core.de>
parents:
108
diff
changeset
|
48 | <c:if test="${viewmodel.issue.id ge 0}"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
49 | <tr> |
108
6657dad897ea
adds issue ID to the displayed information
Mike Becker <universe@uap-core.de>
parents:
103
diff
changeset
|
50 | <th><fmt:message key="issue.id"/></th> |
6657dad897ea
adds issue ID to the displayed information
Mike Becker <universe@uap-core.de>
parents:
103
diff
changeset
|
51 | <td>${issue.id}</td> |
6657dad897ea
adds issue ID to the displayed information
Mike Becker <universe@uap-core.de>
parents:
103
diff
changeset
|
52 | </tr> |
113
eba08a3a7eb2
fixes #18 : Remove "Issue ID" from "New Issue" form
Mike Becker <universe@uap-core.de>
parents:
108
diff
changeset
|
53 | </c:if> |
108
6657dad897ea
adds issue ID to the displayed information
Mike Becker <universe@uap-core.de>
parents:
103
diff
changeset
|
54 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
55 | <th><label for="issue-component"><fmt:message key="component"/></label></th> |
134
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
56 | <td> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
57 | <select id="issue-component" name="component"> |
134
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
58 | <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
186
05eec764facd
fixes some minor migration regressions
Mike Becker <universe@uap-core.de>
parents:
185
diff
changeset
|
59 | <c:forEach var="comp" items="${viewmodel.components}"> |
227
f0ede8046b59
#162 adds active flag to component
Mike Becker <universe@uap-core.de>
parents:
214
diff
changeset
|
60 | <c:set var="isSelectedComponent" value="${not empty issue.component and comp eq issue.component}" scope="page"/> |
f0ede8046b59
#162 adds active flag to component
Mike Becker <universe@uap-core.de>
parents:
214
diff
changeset
|
61 | <c:if test="${isSelectedComponent or comp.active}"> |
134
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
62 | <option |
227
f0ede8046b59
#162 adds active flag to component
Mike Becker <universe@uap-core.de>
parents:
214
diff
changeset
|
63 | <c:if test="${isSelectedComponent}">selected</c:if> |
186
05eec764facd
fixes some minor migration regressions
Mike Becker <universe@uap-core.de>
parents:
185
diff
changeset
|
64 | value="${comp.id}"><c:out value="${comp.name}"/></option> |
227
f0ede8046b59
#162 adds active flag to component
Mike Becker <universe@uap-core.de>
parents:
214
diff
changeset
|
65 | </c:if> |
134
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
66 | </c:forEach> |
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
67 | </select> |
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
68 | </td> |
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
69 | </tr> |
f47e82cd6077
completes feature: project components
Mike Becker <universe@uap-core.de>
parents:
131
diff
changeset
|
70 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
71 | <th><label for="issue-category"><fmt:message key="issue.category"/></label></th> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | <td> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
73 | <select id="issue-category" name="category"> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
85
diff
changeset
|
74 | <c:forEach var="category" items="${viewmodel.issueCategory}"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | <option |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
76 | <c:if test="${category eq issue.category}">selected</c:if> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
77 | value="${category}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
78 | <fmt:message key="issue.category.${category}" /> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | </option> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
80 | </c:forEach> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
81 | </select> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
82 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
83 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
84 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
85 | <th><label for="issue-status"><fmt:message key="issue.status"/></label></th> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | <td> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
87 | <select id="issue-status" name="status"> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
85
diff
changeset
|
88 | <c:forEach var="status" items="${viewmodel.issueStatus}"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
89 | <option |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
90 | <c:if test="${status eq issue.status}">selected</c:if> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
91 | value="${status}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
92 | <fmt:message key="issue.status.${status}" /> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
93 | </option> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
94 | </c:forEach> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | </select> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
96 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
97 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
98 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
99 | <th><label for="issue-subject"><fmt:message key="issue.subject"/></label></th> |
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
100 | <td><input id="issue-subject" name="subject" type="text" maxlength="200" required value="<c:out value="${issue.subject}"/>" /></td> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
101 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
102 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
103 | <th class="vtop"><label for="issue-description"><fmt:message key="issue.description"/></label></th> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
104 | <td> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
105 | <textarea id="issue-description" name="description" rows="10"><c:out value="${issue.description}"/></textarea> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
106 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
107 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
108 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
109 | <th><label for="issue-assignee"><fmt:message key="issue.assignee"/></label></th> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
110 | <td> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
111 | <select id="issue-assignee" name="assignee"> |
136
7281bdf43c60
automatic assignment of component lead (if available) - fixes #28
Mike Becker <universe@uap-core.de>
parents:
134
diff
changeset
|
112 | <option value="-2" title="<fmt:message key="placeholder.auto-assignee.tooltip"/>"><fmt:message key="placeholder.auto-assignee"/></option> |
7281bdf43c60
automatic assignment of component lead (if available) - fixes #28
Mike Becker <universe@uap-core.de>
parents:
134
diff
changeset
|
113 | <option value="-1" |
7281bdf43c60
automatic assignment of component lead (if available) - fixes #28
Mike Becker <universe@uap-core.de>
parents:
134
diff
changeset
|
114 | <c:if test="${issue.id ge 0 and empty issue.assignee}">selected</c:if> |
7281bdf43c60
automatic assignment of component lead (if available) - fixes #28
Mike Becker <universe@uap-core.de>
parents:
134
diff
changeset
|
115 | ><fmt:message key="placeholder.null-assignee"/></option> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
85
diff
changeset
|
116 | <c:forEach var="user" items="${viewmodel.users}"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
117 | <option |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
118 | <c:if test="${not empty issue.assignee and user eq issue.assignee}">selected</c:if> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
119 | value="${user.id}"><c:out value="${user.displayname}"/></option> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
120 | </c:forEach> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
121 | </select> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
122 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
123 | </tr> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
124 | <c:if test="${issue.project.id ge 0}"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
125 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
126 | <th class="vtop"><label for="issue-affected"><fmt:message key="issue.affected-versions"/></label></th> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
127 | <td> |
231
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
128 | <select id="issue-affected" name="affected"> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
129 | <option value="-1"><fmt:message key="placeholder.null-version"/></option> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
130 | <c:forEach var="vselitem" items="${viewmodel.versionsRecent}"> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
131 | <option value="${vselitem.id}" <c:if test="${issue.affected eq vselitem}">selected</c:if> > |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
132 | <c:out value="${vselitem.name}" /> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
133 | </option> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
134 | </c:forEach> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
135 | </select> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
136 | </td> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
137 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
138 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
139 | <th class="vtop"><label for="issue-resolved"><fmt:message key="issue.resolved-versions"/></label></th> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
140 | <td> |
231
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
141 | <select id="issue-resolved" name="resolved"> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
142 | <option value="-1"><fmt:message key="placeholder.null-version"/></option> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
143 | <c:forEach var="vselitem" items="${viewmodel.versionsUpcoming}"> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
144 | <option value="${vselitem.id}" <c:if test="${issue.resolved eq vselitem}">selected</c:if> > |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
145 | <c:out value="${vselitem.name}" /> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
146 | </option> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
147 | </c:forEach> |
dcb1d5a7ea3a
#163 removes multi selection for versions
Mike Becker <universe@uap-core.de>
parents:
227
diff
changeset
|
148 | </select> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
149 | </td> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
150 | </tr> |
83
24a3596b8f98
adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
151 | </c:if> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
152 | <tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
153 | <th><label for="issue-eta"><fmt:message key="issue.eta"/></label></th> |
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
154 | <td><input id="issue-eta" name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="YYYY-MM-dd" />" /> </td> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
155 | </tr> |
214
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
156 | <c:if test="${issue.id ge 0}"> |
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
157 | <tr> |
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
158 | <th class="vtop"><label for="issue-comment"><fmt:message key="issue.comment"/></label> </th> |
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
159 | <td><textarea id="issue-comment" rows="3" name="comment"></textarea></td> |
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
160 | </tr> |
69647ddb57f2
#153 adds comment box to issues form
Mike Becker <universe@uap-core.de>
parents:
212
diff
changeset
|
161 | </c:if> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
162 | </tbody> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
163 | <tfoot> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
164 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
165 | <td colspan="2"> |
185
5ec9fcfbdf9c
re-enables the "create another" feature
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
166 | <input type="checkbox" id="more" name="more" <c:if test="${more}">checked</c:if> /> |
5ec9fcfbdf9c
re-enables the "create another" feature
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
167 | <label for="more"><fmt:message key="button.issue.create.another"/> </label> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
168 | <input type="hidden" name="id" value="${issue.id}"/> |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
169 | <c:if test="${issue.id ge 0}"> |
184
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
170 | <a href="${issuesHref}${issue.id}" class="button"> |
180 | 171 | <fmt:message key="button.cancel"/> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
172 | </a> |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
173 | </c:if> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
174 | <c:if test="${issue.id lt 0}"> |
184
e8eecee6aadf
completes kotlin migration
Mike Becker <universe@uap-core.de>
parents:
181
diff
changeset
|
175 | <a href="${issuesHref}" class="button"> |
180 | 176 | <fmt:message key="button.cancel"/> |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
177 | </a> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
178 | </c:if> |
180 | 179 | <button type="submit"><fmt:message key="button.okay"/></button> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
180 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
181 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
182 | </tfoot> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
183 | </table> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
184 | </form> |