Fri, 06 Nov 2020 10:50:32 +0100
migrates constants and removes global functions
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 | |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
31 | <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueDetailView" scope="request"/> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
85
diff
changeset
|
32 | <c:set var="issue" scope="page" value="${viewmodel.issue}" /> |
75
33b6843fdf8a
adds the ability to create and edit issues
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
34 | <table class="formtable fullwidth"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
35 | <colgroup> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
36 | <col> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
37 | <col style="width: 100%"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
38 | </colgroup> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
39 | <tbody> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
40 | <c:if test="${viewmodel.issue.id ge 0}"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
41 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
42 | <th><fmt:message key="issue.id"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
43 | <td>${issue.id}</td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
44 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
45 | </c:if> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
46 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
47 | <th><fmt:message key="issue.project"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
48 | <td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
49 | <c:out value="${issue.project.name}" /> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
50 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
51 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
52 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
53 | <th><fmt:message key="issue.created"/></th> |
156
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
54 | <td> |
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
55 | <c:set var="dateValue" value="${issue.created}"/> |
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
56 | <%@include file="../jspf/date-with-tooltip.jspf"%> |
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
57 | </td> |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
58 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
59 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
60 | <th><fmt:message key="issue.updated"/></th> |
156
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
61 | <td> |
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
62 | <c:set var="dateValue" value="${issue.updated}"/> |
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
63 | <%@include file="../jspf/date-with-tooltip.jspf"%> |
c5d6820d884e
fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
64 | </td> |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
65 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
66 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
67 | <th><fmt:message key="issue.component"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
68 | <td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
69 | <c:if test="${not empty issue.component}"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
70 | <c:out value="${issue.component.name}"/> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
71 | </c:if> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
72 | <c:if test="${empty issue.component}"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
73 | <fmt:message key="placeholder.null-component"/> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
74 | </c:if> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
75 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
76 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
77 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
78 | <th><fmt:message key="issue.category"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
79 | <td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
80 | <div class="issue-tag ${issue.category}" style="width: auto"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
81 | <fmt:message key="issue.category.${issue.category}" /> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
82 | </div> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
83 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
84 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
85 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
86 | <th><fmt:message key="issue.status"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
87 | <td> |
150
822b7e3d064d
migrate entities package
Mike Becker <universe@uap-core.de>
parents:
146
diff
changeset
|
88 | <div class="issue-tag phase-${issue.status.phase.number}" style="width: auto"> |
146
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
89 | <fmt:message key="issue.status.${issue.status}" /> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
90 | </div> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
91 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
92 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
93 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
94 | <th><fmt:message key="issue.subject"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
95 | <td><c:out value="${issue.subject}"/></td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
96 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
97 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
98 | <th class="vtop"><fmt:message key="issue.description"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
99 | <td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
100 | <textarea readonly rows="10"><c:out value="${issue.description}"/></textarea> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
101 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
102 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
103 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
104 | <th><fmt:message key="issue.assignee"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
105 | <td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
106 | <c:if test="${not empty issue.assignee}"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
107 | <c:out value="${issue.assignee.displayname}"/> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
108 | </c:if> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
109 | <c:if test="${empty issue.assignee}"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
110 | <fmt:message key="placeholder.null-assignee" /> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
111 | </c:if> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
112 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
113 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
114 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
115 | <th class="vtop"><fmt:message key="issue.affected-versions"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
116 | <td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
117 | <c:forEach var="version" items="${issue.affectedVersions}"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
118 | <c:out value="${version.name}"/> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
119 | </c:forEach> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
120 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
121 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
122 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
123 | <th class="vtop"><fmt:message key="issue.resolved-versions"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
124 | <td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
125 | <c:forEach var="version" items="${issue.resolvedVersions}"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
126 | <c:out value="${version.name}"/> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
127 | </c:forEach> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
128 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
129 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
130 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
131 | <th><fmt:message key="issue.eta"/></th> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
132 | <td><fmt:formatDate value="${issue.eta}" /></td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
133 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
134 | </tbody> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
135 | <tfoot> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
136 | <tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
137 | <td colspan="2"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
138 | <%-- TODO: fix #14 --%> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
139 | <a href="./projects/${issue.project.node}/all-components/all-versions/issues/" class="button"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
140 | <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
141 | </a> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
142 | <a href="./projects/${issue.project.node}/issues/${issue.id}/edit" class="button submit"> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
143 | <fmt:message key="button.issue.edit"/> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
144 | </a> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
145 | </td> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
146 | </tr> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
147 | </tfoot> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
148 | </table> |
b0e83cab0bde
adds issue detail view - fixes #24
Mike Becker <universe@uap-core.de>
parents:
142
diff
changeset
|
149 | |
124 | 150 | <hr class="comments-separator"/> |
151 | <h2><fmt:message key="issue.comments"/></h2> | |
152 | <c:if test="${viewmodel.issue.id ge 0}"> | |
131
67df332e3146
changes request mapping to contain project and version ID as path parameters (this removes the session storage)
Mike Becker <universe@uap-core.de>
parents:
125
diff
changeset
|
153 | <form id="comment-form" action="./projects/commit-issue-comment" method="post"> |
124 | 154 | <table class="formtable fullwidth"> |
155 | <tbody> | |
156 | <tr> | |
125
decc4c3854a1
adds missing required attribute to comment textfield
Mike Becker <universe@uap-core.de>
parents:
124
diff
changeset
|
157 | <td><textarea rows="5" name="comment" required></textarea></td> |
124 | 158 | </tr> |
159 | </tbody> | |
160 | <tfoot> | |
161 | <tr> | |
162 | <td> | |
163 | <input type="hidden" name="issueid" value="${issue.id}"/> | |
164 | <button type="submit"><fmt:message key="button.comment"/></button> | |
165 | </td> | |
166 | </tr> | |
167 | </tfoot> | |
168 | </table> | |
169 | </form> | |
170 | <c:forEach var="comment" items="${viewmodel.comments}"> | |
171 | <div class="comment"> | |
172 | <div class="caption"> | |
173 | <c:if test="${not empty comment.author}"> | |
174 | <c:out value="${comment.author.displayname}"/> | |
175 | </c:if> | |
176 | <c:if test="${empty comment.author}"> | |
177 | <fmt:message key="issue.comments.anonauthor"/> | |
178 | </c:if> | |
179 | </div> | |
180 | <div class="smalltext"> | |
181 | <fmt:formatDate type="BOTH" value="${comment.created}" /> | |
182 | <c:if test="${comment.updateCount gt 0}"> | |
183 | <!-- TODO: update count --> | |
184 | </c:if> | |
185 | </div> | |
186 | <div class="medskip"> | |
187 | <c:out value="${comment.comment}"/> | |
188 | </div> | |
189 | </div> | |
190 | </c:forEach> | |
191 | </c:if> | |
192 |