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

changeset 284
671c1c8fbf1c
parent 269
8646c229bd32
child 292
703591e739f4
--- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Sat Jul 22 15:07:23 2023 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Sat Jul 22 22:32:04 2023 +0200
@@ -156,6 +156,31 @@
 </div>
 
 <hr class="issue-view-separator"/>
+
+<c:if test="${not empty viewmodel.commitLinks}">
+    <h2><fmt:message key="issue.commits" /></h2>
+    <table class="issue-view fullwidth">
+        <colgroup>
+            <col>
+            <col class="fullwidth">
+        </colgroup>
+        <thead>
+        <tr>
+            <th><fmt:message key="issue.commits.hash"/></th>
+            <th><fmt:message key="issue.commits.message"/></th>
+        </tr>
+        </thead>
+        <tbody>
+        <c:forEach var="commitLink" items="${viewmodel.commitLinks}">
+        <tr>
+            <td><a href="${commitLink.url}" target="_blank">${commitLink.hash}</a></td>
+            <td><c:out value="${commitLink.message}"/> </td>
+        </tr>
+        </c:forEach>
+        </tbody>
+    </table>
+</c:if>
+
 <h2>
     <fmt:message key="issue.relations"/>
 </h2>

mercurial