Sun, 24 May 2020 15:30:43 +0200
adds project overview page
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 | |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | Copyright 2018 Mike Becker. All rights reserved. |
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 | |
76
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
31 | <jsp:useBean id="projects" type="java.util.List<de.uapcore.lightpit.entities.Project>" scope="request" /> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | <jsp:useBean id="issue" type="de.uapcore.lightpit.entities.Issue" scope="request"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | <jsp:useBean id="issueStatusEnum" type="de.uapcore.lightpit.entities.IssueStatus[]" scope="request"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
34 | <jsp:useBean id="issueCategoryEnum" type="de.uapcore.lightpit.entities.IssueCategory[]" scope="request"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
35 | <jsp:useBean id="users" type="java.util.List<de.uapcore.lightpit.entities.User>" scope="request"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
36 | |
78
bb4c52bf3439
bloat removal 2/3 - moduleInfo
Mike Becker <universe@uap-core.de>
parents:
76
diff
changeset
|
37 | <form action="./projects/issues/commit" method="post"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
38 | <table class="formtable"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
39 | <colgroup> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
40 | <col> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
41 | <col style="width: 75ch"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
42 | </colgroup> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
43 | <tbody> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
44 | <tr> |
76
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
45 | <th><fmt:message key="thead.issue.project"/></th> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
46 | <td> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
47 | <select name="pid" required> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
48 | <c:forEach var="project" items="${projects}"> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
49 | <option value="${project.id}" <c:if test="${project eq issue.project}">selected</c:if> > |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
50 | <c:out value="${project.name}" /> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
51 | </option> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
52 | </c:forEach> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
53 | </select> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
54 | </td> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
55 | </tr> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
56 | <tr> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
57 | <th><fmt:message key="thead.issue.category"/></th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
58 | <td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
59 | <select name="category"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
60 | <c:forEach var="category" items="${issueCategoryEnum}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
61 | <option |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
62 | <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
|
63 | value="${category}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
64 | <fmt:message key="issue.category.${category}" /> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
65 | </option> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
66 | </c:forEach> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
67 | </select> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
68 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
69 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
70 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
71 | <th><fmt:message key="thead.issue.status"/></th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | <td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
73 | <select name="status"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | <c:forEach var="status" items="${issueStatusEnum}"> |
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="${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
|
77 | value="${status}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
78 | <fmt:message key="issue.status.${status}" /> |
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> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
85 | <th><fmt:message key="thead.issue.subject"/></th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | <td><input name="subject" type="text" maxlength="20" required value="<c:out value="${issue.subject}"/>" /></td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
87 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
88 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
89 | <th class="vtop"><fmt:message key="thead.issue.description"/></th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
90 | <td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
91 | <textarea name="description"><c:out value="${issue.description}"/></textarea> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
92 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
93 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
94 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | <th><fmt:message key="thead.issue.assignee"/></th> |
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 | <select name="assignee"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
98 | <option value="-1"><fmt:message key="placeholder.null-assignee"/></option> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
99 | <c:forEach var="user" items="${users}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
100 | <option |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
101 | <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
|
102 | 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
|
103 | </c:forEach> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
104 | </select> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
105 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
106 | </tr> |
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 | <th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
109 | <c:choose> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
110 | <c:when test="${issue.affectedVersions.size() gt 1}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
111 | <fmt:message key="thead.issue.affected-versions"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
112 | </c:when> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
113 | <c:otherwise> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
114 | <fmt:message key="thead.issue.affected-version"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
115 | </c:otherwise> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
116 | </c:choose> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
117 | </th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
118 | <td>TODO</td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
119 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
120 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
121 | <th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
122 | <c:choose> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
123 | <c:when test="${issue.scheduledVersions.size() gt 1}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
124 | <fmt:message key="thead.issue.scheduled-versions"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
125 | </c:when> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
126 | <c:otherwise> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
127 | <fmt:message key="thead.issue.scheduled-version"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
128 | </c:otherwise> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
129 | </c:choose> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
130 | </th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
131 | <td>TODO</td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
132 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
133 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
134 | <th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
135 | <c:choose> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
136 | <c:when test="${issue.resolvedVersions.size() gt 1}"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
137 | <fmt:message key="thead.issue.resolved-versions"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
138 | </c:when> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
139 | <c:otherwise> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
140 | <fmt:message key="thead.issue.resolved-version"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
141 | </c:otherwise> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
142 | </c:choose> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
143 | </th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
144 | <td>TODO</td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
145 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
146 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
147 | <th><fmt:message key="thead.issue.eta"/></th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
148 | <td><input name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="YYYY-MM-dd" />" /> </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
149 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
150 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
151 | <th><fmt:message key="thead.issue.created"/></th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
152 | <td><fmt:formatDate value="${issue.created}" /></td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
153 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
154 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
155 | <th><fmt:message key="thead.issue.updated"/></th> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
156 | <td><fmt:formatDate value="${issue.updated}" /></td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
157 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
158 | </tbody> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
159 | <tfoot> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
160 | <tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
161 | <td colspan="2"> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
162 | <input type="hidden" name="id" value="${issue.id}"/> |
76
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
163 | <c:choose> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
164 | <c:when test="${not empty issue.project and issue.project.id ge 0}"> |
78
bb4c52bf3439
bloat removal 2/3 - moduleInfo
Mike Becker <universe@uap-core.de>
parents:
76
diff
changeset
|
165 | <c:set var="cancelUrl">./projects/view?pid=${issue.project.id}</c:set> |
76
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
166 | </c:when> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
167 | <c:otherwise> |
78
bb4c52bf3439
bloat removal 2/3 - moduleInfo
Mike Becker <universe@uap-core.de>
parents:
76
diff
changeset
|
168 | <c:set var="cancelUrl">./projects/</c:set> |
76
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
169 | </c:otherwise> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
170 | </c:choose> |
82f71fb1758a
issue and version form now also work if no project is selected in the session
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
171 | <a href="${cancelUrl}" class="button"> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
172 | <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
173 | </a> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
174 | <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
175 | </td> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
176 | </tr> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
177 | </tfoot> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
178 | </table> |
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
179 | </form> |