src/main/webapp/WEB-INF/jsp/issues.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 82
4ec7f2600c83
child 86
0a658e53177c
permissions
-rw-r--r--

significantly increases length of subject field

80
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <%--
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 Copyright 2018 Mike Becker. All rights reserved.
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 Redistribution and use in source and binary forms, with or without
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 modification, are permitted provided that the following conditions are met:
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 1. Redistributions of source code must retain the above copyright
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 notice, this list of conditions and the following disclaimer.
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 2. Redistributions in binary form must reproduce the above copyright
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 notice, this list of conditions and the following disclaimer in the
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 documentation and/or other materials provided with the distribution.
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26 --%>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 <%@page pageEncoding="UTF-8" %>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33 <div id="tool-area">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
34 <div>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
35 <a href="./projects/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
36 </div>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
37 </div>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
38
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
39 <table id="issue-list" class="datatable medskip">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 <thead>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
41 <tr>
82
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
42 <th><fmt:message key="issue.subject"/></th>
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
43 <th><fmt:message key="issue.assignee"/></th>
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
44 <th><fmt:message key="issue.category"/></th>
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
45 <th><fmt:message key="issue.status"/></th>
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.created"/></th>
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
47 <th><fmt:message key="issue.updated"/></th>
4ec7f2600c83 removes stupid thead prefix from every resource file
Mike Becker <universe@uap-core.de>
parents: 81
diff changeset
48 <th><fmt:message key="issue.eta"/></th>
80
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
49 </tr>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
50 </thead>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
51 <tbody>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
52 <c:forEach var="issue" items="${issues}">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
53 <tr>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
54 <td>
81
1a2e7b5d48f7 adds issue summaries
Mike Becker <universe@uap-core.de>
parents: 80
diff changeset
55 <span class="phase-${issue.status.phase}">
1a2e7b5d48f7 adds issue summaries
Mike Becker <universe@uap-core.de>
parents: 80
diff changeset
56 <a href="./projects/issues/edit?id=${issue.id}">
1a2e7b5d48f7 adds issue summaries
Mike Becker <universe@uap-core.de>
parents: 80
diff changeset
57 <c:out value="${issue.subject}" />
1a2e7b5d48f7 adds issue summaries
Mike Becker <universe@uap-core.de>
parents: 80
diff changeset
58 </a>
1a2e7b5d48f7 adds issue summaries
Mike Becker <universe@uap-core.de>
parents: 80
diff changeset
59 </span>
80
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
60 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
61 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
62 <c:if test="${not empty issue.assignee}">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
63 <c:out value="${issue.assignee.shortDisplayname}" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
64 </c:if>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
65 <c:if test="${empty issue.assignee}">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
66 <fmt:message key="placeholder.null-assignee" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
67 </c:if>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
68 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
69 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
70 <fmt:message key="issue.category.${issue.category}" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
71 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
72 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
73 <fmt:message key="issue.status.${issue.status}" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
74 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
75 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
76 <fmt:formatDate value="${issue.created}" type="BOTH"/>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
78 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
79 <fmt:formatDate value="${issue.updated}" type="BOTH"/>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
80 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
81 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
82 <fmt:formatDate value="${issue.eta}" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
83 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
84 </tr>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
85 </c:forEach>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
86 </tbody>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
87 </table>

mercurial