Tue, 04 Feb 2025 18:28:55 +0100
implement variant status in issue list
relates to #491
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 |
352
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
4 | showComponentInfo: boolean |
308
7b5f6dd8dad6
add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents:
295
diff
changeset
|
5 | showVersionInfo: boolean |
352
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
6 | showVariantInfo: boolean |
311
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
7 | showProjectInfo: boolean |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | --%> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | <table class="fullwidth datatable medskip"> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
10 | <colgroup> |
311
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
11 | <c:if test="${showProjectInfo}"> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
12 | <col style="width: 10%" /> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
13 | </c:if> |
220
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
14 | <col style="width: auto" /> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
15 | <col style="width: 10%" /> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
16 | <col style="width: 10%" /> |
251
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
17 | <col style="width: 10%" /> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
18 | </colgroup> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | <thead> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
20 | <tr> |
311
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
21 | <c:if test="${showProjectInfo}"> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
22 | <th><fmt:message key="project"/></th> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
23 | </c:if> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
24 | <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
|
25 | <th><fmt:message key="issue.eta"/></th> |
251
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
26 | <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
|
27 | <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
|
28 | </tr> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | </thead> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
30 | <tbody> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
31 | <c:forEach var="issue" items="${issues}"> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | <tr> |
311
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
33 | <c:if test="${showProjectInfo}"> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
34 | <td> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
35 | <a href="./projects/${issue.project.node}"> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
36 | <c:out value="${issue.project.name}"/> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
37 | </a> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
38 | </td> |
bf67e0ff7131
add new global issues page - fixes #404
Mike Becker <universe@uap-core.de>
parents:
308
diff
changeset
|
39 | </c:if> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
40 | <td> |
150
822b7e3d064d
migrate entities package
Mike Becker <universe@uap-core.de>
parents:
146
diff
changeset
|
41 | <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
|
42 | <a href="${issuesHref}${issue.id}"> |
108
6657dad897ea
adds issue ID to the displayed information
Mike Becker <universe@uap-core.de>
parents:
103
diff
changeset
|
43 | #${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
|
44 | </a> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
45 | </span> |
103
3d0d030dffa7
improves styling and readability of issue list
Mike Becker <universe@uap-core.de>
parents:
101
diff
changeset
|
46 | <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
|
47 | <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
|
48 | <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
|
49 | </div> |
150
822b7e3d064d
migrate entities package
Mike Becker <universe@uap-core.de>
parents:
146
diff
changeset
|
50 | <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
|
51 | <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
|
52 | </div> |
346
860bbccf33e7
use the component's color in issue overview - fixes #580
Mike Becker <universe@uap-core.de>
parents:
335
diff
changeset
|
53 | <c:if test="${showComponentInfo and issue.component != null}"> |
860bbccf33e7
use the component's color in issue overview - fixes #580
Mike Becker <universe@uap-core.de>
parents:
335
diff
changeset
|
54 | <div class="issue-tag-auto-color ${issue.component.color.textColorClass}" |
860bbccf33e7
use the component's color in issue overview - fixes #580
Mike Becker <universe@uap-core.de>
parents:
335
diff
changeset
|
55 | style="background-color: ${issue.component.color}"> |
860bbccf33e7
use the component's color in issue overview - fixes #580
Mike Becker <universe@uap-core.de>
parents:
335
diff
changeset
|
56 | <c:out value="${issue.component.name}"/> |
860bbccf33e7
use the component's color in issue overview - fixes #580
Mike Becker <universe@uap-core.de>
parents:
335
diff
changeset
|
57 | </div> |
860bbccf33e7
use the component's color in issue overview - fixes #580
Mike Becker <universe@uap-core.de>
parents:
335
diff
changeset
|
58 | </c:if> |
352
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
59 | <c:if test="${showVariantInfo and issue.trackingVariantStatus}"> |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
60 | <c:forEach items="${issue.variantStatus}" var="vs"> |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
61 | <div class="issue-tag-auto-color ${vs.key.color.textColorClass}" |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
62 | style="background-color: ${vs.key.color}" |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
63 | title="<fmt:message key="issue.status.${vs.value}" />" |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
64 | > |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
65 | <c:out value="${vs.key.name}"/> |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
66 | </div> |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
67 | </c:forEach> |
6b2caaf2c73d
implement variant status in issue list
Mike Becker <universe@uap-core.de>
parents:
346
diff
changeset
|
68 | </c:if> |
308
7b5f6dd8dad6
add version info to issue overview - fixes #399
Mike Becker <universe@uap-core.de>
parents:
295
diff
changeset
|
69 | <c:if test="${showVersionInfo and issue.resolved != null}"> |
325
388c1d2147d4
add component tag to issue list
Mike Becker <universe@uap-core.de>
parents:
311
diff
changeset
|
70 | <div class="issue-tag"> |
346
860bbccf33e7
use the component's color in issue overview - fixes #580
Mike Becker <universe@uap-core.de>
parents:
335
diff
changeset
|
71 | <c:out value="${issue.resolved.name}"/> |
325
388c1d2147d4
add component tag to issue list
Mike Becker <universe@uap-core.de>
parents:
311
diff
changeset
|
72 | </div> |
388c1d2147d4
add component tag to issue list
Mike Becker <universe@uap-core.de>
parents:
311
diff
changeset
|
73 | </c:if> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | </td> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | <td> |
170
4988b1d8264b
ETA column should not wrap
Mike Becker <universe@uap-core.de>
parents:
150
diff
changeset
|
76 | <span class="nowrap <c:if test="${issue.overdue}">eta-overdue</c:if> "> |
335
1eed60b779da
change language menu to settings menu and add timezone settings - fixes #402
Mike Becker <universe@uap-core.de>
parents:
325
diff
changeset
|
77 | <fmt:formatDate value="${issue.eta}" timeZone="${timezone}" /> |
144
7e06b75cf1b9
highlight passed ETA - fixes #23
Mike Becker <universe@uap-core.de>
parents:
139
diff
changeset
|
78 | </span> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | </td> |
220
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
80 | <td> |
251
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
81 | <span class="nowrap"> |
335
1eed60b779da
change language menu to settings menu and add timezone settings - fixes #402
Mike Becker <universe@uap-core.de>
parents:
325
diff
changeset
|
82 | <fmt:formatDate value="${issue.updated}" timeZone="${timezone}" /> |
251
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
83 | </span> |
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
84 | </td> |
7ea0f266da41
add 'updated' to issues table
Mike Becker <universe@uap-core.de>
parents:
220
diff
changeset
|
85 | <td> |
220
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
86 | <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
|
87 | <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
|
88 | <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
|
89 | </c:if> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
90 | <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
|
91 | <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
|
92 | </c:if> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
93 | </c:if> |
1f7e76a213dd
#157 adds assignee column to issue list
Mike Becker <universe@uap-core.de>
parents:
184
diff
changeset
|
94 | </td> |
86
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | </tr> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
96 | </c:forEach> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
97 | </tbody> |
0a658e53177c
improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
98 | </table> |