src/main/webapp/WEB-INF/jsp/issue-view.jsp

changeset 269
8646c229bd32
parent 264
7d67245e5121
child 284
671c1c8fbf1c
--- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Sun Jan 08 17:07:26 2023 +0100
+++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Sun Jan 08 17:13:57 2023 +0100
@@ -197,7 +197,7 @@
             <input name="issue" list="linkable-issues" autocomplete="off">
             <datalist id="linkable-issues">
                 <c:forEach var="linkableIssue" items="${viewmodel.linkableIssues}">
-                    <option value="#${linkableIssue.id} - <c:out value="${linkableIssue.subject}"/> (<fmt:message key="issue.status.${linkableIssue.status}" />)"></option>
+                    <option value="#${linkableIssue.id} - <c:out value="${linkableIssue.subject}"/> (<fmt:message key="issue.category.${linkableIssue.category}" />)"></option>
                 </c:forEach>
             </datalist>
         </td>
@@ -212,8 +212,15 @@
             <td><fmt:message key="issue.relations.type.${relation.type}${relation.reverse?'.rev':''}"/></td>
             <td>
                 <a href="${issuesHref}${relation.to.id}">
-                    #${relation.to.id} - <c:out value="${relation.to.subject}"/> (<fmt:message key="issue.status.${relation.to.status}" />)
+                    #${relation.to.id} - <c:out value="${relation.to.subject}"/>
                 </a>
+                <div style="display: inline-block; width: .25em"></div>
+                <div class="issue-tag ${relation.to.category}">
+                    <fmt:message key="issue.category.${relation.to.category}" />
+                </div>
+                <div class="issue-tag phase-${relation.to.status.phase.number}">
+                    <fmt:message key="issue.status.${relation.to.status}" />
+                </div>
             </td>
         </tr>
     </c:forEach>

mercurial