improve display of relations

Sun, 08 Jan 2023 17:13:57 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 08 Jan 2023 17:13:57 +0100
changeset 269
8646c229bd32
parent 268
ca5501d851fa
child 270
8c088c628a20

improve display of relations

src/main/webapp/WEB-INF/jsp/issue-view.jsp file | annotate | diff | comparison | revisions
--- 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