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

Sat, 30 May 2020 18:12:38 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 30 May 2020 18:12:38 +0200
changeset 85
3d16ad54b3dc
parent 83
24a3596b8f98
child 86
0a658e53177c
permissions
-rw-r--r--

significantly increases length of subject field

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" />
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
32 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request" />
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33 <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
34 <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
35 <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
36 <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
37
78
bb4c52bf3439 bloat removal 2/3 - moduleInfo
Mike Becker <universe@uap-core.de>
parents: 76
diff changeset
38 <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
39 <table class="formtable">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 <colgroup>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
41 <col>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
42 <col style="width: 75ch">
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 <tbody>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
45 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
46 <th><fmt:message key="issue.project"/></th>
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
47 <td>
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
48 <c:if test="${issue.project.id ge 0}">
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
49 <c:out value="${issue.project.name}" />
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
50 <input type="hidden" name="pid" value="${issue.project.id}" />
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
51 </c:if>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
52 <c:if test="${empty issue.project or issue.project.id lt 0}">
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
53 <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
54 <c:forEach var="project" items="${projects}">
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
55 <option value="${project.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
56 <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
57 </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
58 </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
59 </select>
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
60 </c:if>
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
61 </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
62 </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
63 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
64 <th><fmt:message key="issue.category"/></th>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
65 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
66 <select name="category">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
67 <c:forEach var="category" items="${issueCategoryEnum}">
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: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
70 value="${category}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
71 <fmt:message key="issue.category.${category}" />
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
72 </option>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
73 </c:forEach>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
74 </select>
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 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
78 <th><fmt:message key="issue.status"/></th>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
79 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
80 <select name="status">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
81 <c:forEach var="status" items="${issueStatusEnum}">
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: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
84 value="${status}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
85 <fmt:message key="issue.status.${status}" />
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
86 </option>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
87 </c:forEach>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
88 </select>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
89 </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>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
92 <th><fmt:message key="issue.subject"/></th>
85
3d16ad54b3dc significantly increases length of subject field
Mike Becker <universe@uap-core.de>
parents: 83
diff changeset
93 <td><input 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
94 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
95 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
96 <th class="vtop"><fmt:message key="issue.description"/></th>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
97 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
98 <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
99 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
100 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
101 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
102 <th><fmt:message key="issue.assignee"/></th>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
103 <td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
104 <select name="assignee">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
105 <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
106 <c:forEach var="user" items="${users}">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
107 <option
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
108 <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
109 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
110 </c:forEach>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
111 </select>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
112 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
113 </tr>
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
114 <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
115 <tr>
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
116 <th class="vtop"><fmt:message key="issue.affected-versions"/></th>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
117 <td>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
118 <c:set var="fieldname" value="affected"/>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
119 <c:set var="data" value="${issue.affectedVersions}" />
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
120 <%@include file="../jspf/version-list.jsp"%>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
121 </td>
75
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>
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
124 <th class="vtop"><fmt:message key="issue.scheduled-versions"/></th>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
125 <td>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
126 <c:set var="fieldname" value="scheduled"/>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
127 <c:set var="data" value="${issue.scheduledVersions}" />
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
128 <%@include file="../jspf/version-list.jsp"%>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
129 </td>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
130 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
131 <tr>
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
132 <th class="vtop"><fmt:message key="issue.resolved-versions"/></th>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
133 <td>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
134 <c:set var="fieldname" value="resolved"/>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
135 <c:set var="data" value="${issue.resolvedVersions}" />
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
136 <%@include file="../jspf/version-list.jsp"%>
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
137 </td>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
138 </tr>
83
24a3596b8f98 adds version selection in issue editor
Mike Becker <universe@uap-core.de>
parents: 82
diff changeset
139 </c:if>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
140 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
141 <th><fmt:message key="issue.eta"/></th>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
142 <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
143 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
144 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
145 <th><fmt:message key="issue.created"/></th>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
146 <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
147 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
148 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
149 <th><fmt:message key="issue.updated"/></th>
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
150 <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
151 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
152 </tbody>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
153 <tfoot>
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 <td colspan="2">
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
156 <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
157 <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
158 <c:when test="${not empty issue.project and issue.project.id ge 0}">
81
1a2e7b5d48f7 adds issue summaries
Mike Becker <universe@uap-core.de>
parents: 78
diff changeset
159 <c:set var="cancelUrl">./projects/issues/?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
160 </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
161 <c:otherwise>
78
bb4c52bf3439 bloat removal 2/3 - moduleInfo
Mike Becker <universe@uap-core.de>
parents: 76
diff changeset
162 <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
163 </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
164 </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
165 <a href="${cancelUrl}" class="button">
75
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
166 <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
167 </a>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
168 <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
169 </td>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
170 </tr>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
171 </tfoot>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
172 </table>
33b6843fdf8a adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff changeset
173 </form>

mercurial