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 |
1.1 --- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp Fri Dec 18 16:09:20 2020 +0100 1.2 +++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp Fri Dec 18 16:16:54 2020 +0100 1.3 @@ -173,7 +173,13 @@ 1.4 <div class="comment"> 1.5 <div class="caption"> 1.6 <c:if test="${not empty comment.author}"> 1.7 + <c:if test="${not empty comment.author.mail}"> 1.8 + <a href="mailto:${comment.author.mail}"> 1.9 + </c:if> 1.10 <c:out value="${comment.author.displayname}"/> 1.11 + <c:if test="${not empty comment.author.mail}"> 1.12 + </a> 1.13 + </c:if> 1.14 </c:if> 1.15 <c:if test="${empty comment.author}"> 1.16 <fmt:message key="issue.comments.anonauthor"/>