src/main/webapp/WEB-INF/jspf/issue-list.jspf

Sat, 17 Aug 2024 12:08:34 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 17 Aug 2024 12:08:34 +0200
changeset 322
7b154ddd29e3
parent 311
bf67e0ff7131
child 325
388c1d2147d4
permissions
-rw-r--r--

release version 1.3.0

86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <%--
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 issues: List<Issue>
292
703591e739f4 add possibility to show issues w/o version or component - fixes #335
Mike Becker <universe@uap-core.de>
parents: 251
diff changeset
3 issuesHref: String
308
7b5f6dd8dad6 add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents: 295
diff changeset
4 showVersionInfo: boolean
311
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
5 showProjectInfo: boolean
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 --%>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 <table class="fullwidth datatable medskip">
103
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
8 <colgroup>
311
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
9 <c:if test="${showProjectInfo}">
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
10 <col style="width: 10%" />
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
11 </c:if>
220
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
12 <col style="width: auto" />
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
13 <col style="width: 10%" />
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
14 <col style="width: 10%" />
251
7ea0f266da41 add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents: 220
diff changeset
15 <col style="width: 10%" />
103
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
16 </colgroup>
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 <thead>
103
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
18 <tr>
311
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
19 <c:if test="${showProjectInfo}">
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
20 <th><fmt:message key="project"/></th>
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
21 </c:if>
103
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
22 <th><fmt:message key="issue.subject"/></th>
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
23 <th><fmt:message key="issue.eta"/></th>
251
7ea0f266da41 add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents: 220
diff changeset
24 <th><fmt:message key="issue.updated"/></th>
220
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
25 <th><fmt:message key="issue.assignee"/></th>
103
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
26 </tr>
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 </thead>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28 <tbody>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 <c:forEach var="issue" items="${issues}">
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30 <tr>
311
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
31 <c:if test="${showProjectInfo}">
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
32 <td>
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
33 <a href="./projects/${issue.project.node}">
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
34 <c:out value="${issue.project.name}"/>
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
35 </a>
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
36 </td>
bf67e0ff7131 add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents: 308
diff changeset
37 </c:if>
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
38 <td>
150
822b7e3d064d migrate entities package
Mike Becker <universe@uap-core.de>
parents: 146
diff changeset
39 <span class="phase-${issue.status.phase.number}">
295
1c31921664c4 fix broken link in "create issue" button
Mike Becker <universe@uap-core.de>
parents: 292
diff changeset
40 <a href="${issuesHref}${issue.id}">
108
6657dad897ea adds issue ID to the displayed information
Mike Becker <universe@uap-core.de>
parents: 103
diff changeset
41 #${issue.id}&nbsp;-&nbsp;<c:out value="${issue.subject}" />
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
42 </a>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
43 </span>
103
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
44 <div style="display: inline-block; width: .25em"></div>
3d0d030dffa7 improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents: 101
diff changeset
45 <div class="issue-tag ${issue.category}">
92
b723b31383ac adds graphical visualization for issue type and status
Mike Becker <universe@uap-core.de>
parents: 86
diff changeset
46 <fmt:message key="issue.category.${issue.category}" />
b723b31383ac adds graphical visualization for issue type and status
Mike Becker <universe@uap-core.de>
parents: 86
diff changeset
47 </div>
150
822b7e3d064d migrate entities package
Mike Becker <universe@uap-core.de>
parents: 146
diff changeset
48 <div class="issue-tag phase-${issue.status.phase.number}">
92
b723b31383ac adds graphical visualization for issue type and status
Mike Becker <universe@uap-core.de>
parents: 86
diff changeset
49 <fmt:message key="issue.status.${issue.status}" />
b723b31383ac adds graphical visualization for issue type and status
Mike Becker <universe@uap-core.de>
parents: 86
diff changeset
50 </div>
308
7b5f6dd8dad6 add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents: 295
diff changeset
51 <c:if test="${showVersionInfo and issue.resolved != null}">
7b5f6dd8dad6 add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents: 295
diff changeset
52 <div class="issue-tag">
7b5f6dd8dad6 add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents: 295
diff changeset
53 <c:out value="${issue.resolved.name}"/>
7b5f6dd8dad6 add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents: 295
diff changeset
54 </div>
7b5f6dd8dad6 add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents: 295
diff changeset
55 </c:if>
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
56 </td>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
57 <td>
170
4988b1d8264b ETA column should not wrap
Mike Becker <universe@uap-core.de>
parents: 150
diff changeset
58 <span class="nowrap <c:if test="${issue.overdue}">eta-overdue</c:if> ">
150
822b7e3d064d migrate entities package
Mike Becker <universe@uap-core.de>
parents: 146
diff changeset
59 <fmt:formatDate value="${issue.eta}" />
144
7e06b75cf1b9 highlight passed ETA - fixes #23
Mike Becker <universe@uap-core.de>
parents: 139
diff changeset
60 </span>
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
61 </td>
220
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
62 <td>
251
7ea0f266da41 add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents: 220
diff changeset
63 <span class="nowrap">
7ea0f266da41 add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents: 220
diff changeset
64 <fmt:formatDate value="${issue.updated}" />
7ea0f266da41 add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents: 220
diff changeset
65 </span>
7ea0f266da41 add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents: 220
diff changeset
66 </td>
7ea0f266da41 add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents: 220
diff changeset
67 <td>
220
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
68 <c:if test="${not empty issue.assignee}">
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
69 <c:if test="${not empty issue.assignee.mail}">
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
70 <a href="mailto:${issue.assignee.mail}" title="<c:out value="${issue.assignee.displayname}"/>"><c:out value="${issue.assignee.username}"/></a>
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
71 </c:if>
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
72 <c:if test="${empty issue.assignee.mail}">
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
73 <span title="<c:out value="${issue.assignee.displayname}"/>"><c:out value="${issue.assignee.username}"/></span>
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
74 </c:if>
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
75 </c:if>
1f7e76a213dd #157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents: 184
diff changeset
76 </td>
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77 </tr>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
78 </c:forEach>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
79 </tbody>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
80 </table>

mercurial