# HG changeset patch # User Mike Becker <universe@uap-core.de> # Date 1608304614 -3600 # Node ID b1fc8aed59694917f4ce5d018b0bba9d99bf5875 # Parent 003b08bb3f251836131f14b3625f5ecf29fcc169 Add mailto link to the display name above comments - fixes #112 diff -r 003b08bb3f25 -r b1fc8aed5969 src/main/webapp/WEB-INF/jsp/issue-view.jsp --- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp Fri Dec 18 16:09:20 2020 +0100 +++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp Fri Dec 18 16:16:54 2020 +0100 @@ -173,7 +173,13 @@ <div class="comment"> <div class="caption"> <c:if test="${not empty comment.author}"> + <c:if test="${not empty comment.author.mail}"> + <a href="mailto:${comment.author.mail}"> + </c:if> <c:out value="${comment.author.displayname}"/> + <c:if test="${not empty comment.author.mail}"> + </a> + </c:if> </c:if> <c:if test="${empty comment.author}"> <fmt:message key="issue.comments.anonauthor"/>