Wed, 31 Jul 2024 21:18:56 +0200
add version info to issue overview - fixes #399
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 |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | --%> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | <table class="fullwidth datatable medskip"> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
7 | <colgroup> |
220
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
8 | <col style="width: auto" /> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
9 | <col style="width: 10%" /> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
10 | <col style="width: 10%" /> |
251
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
11 | <col style="width: 10%" /> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
12 | </colgroup> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | <thead> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
14 | <tr> |
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
15 | <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
|
16 | <th><fmt:message key="issue.eta"/></th> |
251
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
17 | <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
|
18 | <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
|
19 | </tr> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | </thead> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | <tbody> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | <c:forEach var="issue" items="${issues}"> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | <tr> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | <td> |
150
822b7e3d064d
migrate entities package
Mike Becker <universe@uap-core.de>
parents:
146
diff
changeset
|
25 | <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
|
26 | <a href="${issuesHref}${issue.id}"> |
108
6657dad897ea
adds issue ID to the displayed information
Mike Becker <universe@uap-core.de>
parents:
103
diff
changeset
|
27 | #${issue.id} - <c:out value="${issue.subject}" /> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | </a> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | </span> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
30 | <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
|
31 | <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
|
32 | <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
|
33 | </div> |
150
822b7e3d064d
migrate entities package
Mike Becker <universe@uap-core.de>
parents:
146
diff
changeset
|
34 | <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
|
35 | <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
|
36 | </div> |
308
7b5f6dd8dad6
add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents:
295
diff
changeset
|
37 | <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
|
38 | <div class="issue-tag"> |
7b5f6dd8dad6
add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents:
295
diff
changeset
|
39 | <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
|
40 | </div> |
7b5f6dd8dad6
add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents:
295
diff
changeset
|
41 | </c:if> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
42 | </td> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
43 | <td> |
170
4988b1d8264b
ETA column should not wrap
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
44 | <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
|
45 | <fmt:formatDate value="${issue.eta}" /> |
144
7e06b75cf1b9
highlight passed ETA - fixes #23
Mike Becker <universe@uap-core.de>
parents:
139
diff
changeset
|
46 | </span> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
47 | </td> |
220
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
48 | <td> |
251
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
49 | <span class="nowrap"> |
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
50 | <fmt:formatDate value="${issue.updated}" /> |
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
51 | </span> |
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
52 | </td> |
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
53 | <td> |
220
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
54 | <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
|
55 | <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
|
56 | <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
|
57 | </c:if> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
58 | <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
|
59 | <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
|
60 | </c:if> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
61 | </c:if> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
62 | </td> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
63 | </tr> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
64 | </c:forEach> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
65 | </tbody> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
66 | </table> |