Fri, 18 Dec 2020 16:16:54 +0100
Add mailto link to the display name above comments - fixes #112
src/main/webapp/WEB-INF/jsp/issue-view.jsp | file | annotate | diff | comparison | revisions |
--- 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"/>