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

changeset 346
860bbccf33e7
parent 335
1eed60b779da
--- a/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Tue Jan 14 20:12:25 2025 +0100
+++ b/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Thu Jan 30 19:47:21 2025 +0100
@@ -48,14 +48,15 @@
                 <div class="issue-tag phase-${issue.status.phase.number}">
                     <fmt:message key="issue.status.${issue.status}" />
                 </div>
+                <c:if test="${showComponentInfo and issue.component != null}">
+                    <div class="issue-tag-auto-color ${issue.component.color.textColorClass}"
+                         style="background-color: ${issue.component.color}">
+                        <c:out value="${issue.component.name}"/>
+                    </div>
+                </c:if>
                 <c:if test="${showVersionInfo and issue.resolved != null}">
-                <div class="issue-tag">
-                    <c:out value="${issue.resolved.name}"/>
-                </div>
-                </c:if>
-                <c:if test="${showComponentInfo and issue.component != null}">
                     <div class="issue-tag">
-                        <c:out value="${issue.component.name}"/>
+                        <c:out value="${issue.resolved.name}"/>
                     </div>
                 </c:if>
             </td>

mercurial