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

Sat, 23 May 2020 13:24:49 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 23 May 2020 13:24:49 +0200
changeset 76
82f71fb1758a
parent 75
33b6843fdf8a
child 78
bb4c52bf3439
permissions
-rw-r--r--

issue and version form now also work if no project is selected in the session

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 <%@page import="de.uapcore.lightpit.Constants" %>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 <%@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
30 <%@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
31
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33
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
34 <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
35 <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
36 <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
37 <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
38 <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
39
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 <form action="./${moduleInfo.modulePath}/issues/commit" method="post">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
41 <table class="formtable">
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 <col>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
44 <col style="width: 75ch">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
45 </colgroup>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
46 <tbody>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
47 <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
48 <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
49 <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
50 <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
51 <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
52 <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
53 <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
54 </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
55 </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
56 </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
57 </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
58 </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
59 <tr>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
60 <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
61 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
62 <select name="category">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
63 <c:forEach var="category" items="${issueCategoryEnum}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
64 <option
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
65 <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
66 value="${category}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
67 <fmt:message key="issue.category.${category}" />
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
68 </option>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
69 </c:forEach>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
70 </select>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
71 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
72 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
73 <tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
74 <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
75 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
76 <select name="status">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77 <c:forEach var="status" items="${issueStatusEnum}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
78 <option
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
79 <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
80 value="${status}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
81 <fmt:message key="issue.status.${status}" />
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
82 </option>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
83 </c:forEach>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
84 </select>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
85 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
86 </tr>
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 <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
89 <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
90 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
91 <tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
92 <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
93 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
94 <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
95 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
96 </tr>
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 <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
99 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
100 <select name="assignee">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
101 <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
102 <c:forEach var="user" items="${users}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
103 <option
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
104 <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
105 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
106 </c:forEach>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
107 </select>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
108 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
109 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
110 <tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
111 <th>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
112 <c:choose>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
113 <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
114 <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
115 </c:when>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
116 <c:otherwise>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
117 <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
118 </c:otherwise>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
119 </c:choose>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
120 </th>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
121 <td>TODO</td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
122 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
123 <tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
124 <th>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
125 <c:choose>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
126 <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
127 <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
128 </c:when>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
129 <c:otherwise>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
130 <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
131 </c:otherwise>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
132 </c:choose>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
133 </th>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
134 <td>TODO</td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
135 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
136 <tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
137 <th>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
138 <c:choose>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
139 <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
140 <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
141 </c:when>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
142 <c:otherwise>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
143 <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
144 </c:otherwise>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
145 </c:choose>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
146 </th>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
147 <td>TODO</td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
148 </tr>
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 <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
151 <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
152 </tr>
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 <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
155 <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
156 </tr>
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 <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
159 <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
160 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
161 </tbody>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
162 <tfoot>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
163 <tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
164 <td colspan="2">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
165 <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
166 <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
167 <c:when test="${not empty issue.project and issue.project.id ge 0}">
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
168 <c:set var="cancelUrl">./${moduleInfo.modulePath}/view?pid=${issue.project.id}</c:set>
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: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
170 <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
171 <c:set var="cancelUrl">./${moduleInfo.modulePath}/</c:set>
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
172 </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
173 </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
174 <a href="${cancelUrl}" class="button">
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
175 <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
176 </a>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
177 <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
178 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
179 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
180 </tfoot>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
181 </table>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
182 </form>

mercurial