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