src/main/webapp/WEB-INF/jsp/issues.jsp

Sun, 24 May 2020 15:30:43 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 24 May 2020 15:30:43 +0200
changeset 80
27a25f32048e
child 81
1a2e7b5d48f7
permissions
-rw-r--r--

adds project overview page

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>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
42 <th><fmt:message key="thead.issue.subject"/></th>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
43 <th><fmt:message key="thead.issue.assignee"/></th>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
44 <th><fmt:message key="thead.issue.category"/></th>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
45 <th><fmt:message key="thead.issue.status"/></th>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
46 <th><fmt:message key="thead.issue.created"/></th>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
47 <th><fmt:message key="thead.issue.updated"/></th>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
48 <th><fmt:message key="thead.issue.eta"/></th>
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>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
55 <a href="./projects/issues/edit?id=${issue.id}">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
56 <c:out value="${issue.subject}" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
57 </a>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
58 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
59 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
60 <c:if test="${not empty issue.assignee}">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
61 <c:out value="${issue.assignee.shortDisplayname}" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
62 </c:if>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
63 <c:if test="${empty issue.assignee}">
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
64 <fmt:message key="placeholder.null-assignee" />
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
65 </c:if>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
66 </td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
67 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
68 <fmt:message key="issue.category.${issue.category}" />
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 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
71 <fmt:message key="issue.status.${issue.status}" />
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 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
74 <fmt:formatDate value="${issue.created}" type="BOTH"/>
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 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77 <fmt:formatDate value="${issue.updated}" type="BOTH"/>
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 <td>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
80 <fmt:formatDate value="${issue.eta}" />
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 </tr>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
83 </c:forEach>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
84 </tbody>
27a25f32048e adds project overview page
Mike Becker <universe@uap-core.de>
parents:
diff changeset
85 </table>

mercurial