adds mailto link to issue-view.jsp

Wed, 18 Aug 2021 15:04:59 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 18 Aug 2021 15:04:59 +0200
changeset 226
c8e1b5282f69
parent 225
87328572e36f
child 227
f0ede8046b59

adds mailto link to issue-view.jsp

src/main/webapp/WEB-INF/changelogs/changelog-de.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/issue-view.jsp file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Wed Aug 18 14:57:45 2021 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Wed Aug 18 15:04:59 2021 +0200
@@ -30,6 +30,7 @@
     <li>Datum der Veröffentlichung und des Supportendes zu Versionen hinzugefügt.</li>
     <li>Gesamtanzahl der Kommentare wird nun angezeigt.</li>
     <li>Spalte für zugewiesener Entwickler zu den Vorgangstabellen hinzugefügt.</li>
+    <li>E-Mail Link in Vorgangsansicht hinzugefügt, wenn der Zugewiesene eine Mailadresse hat.</li>
     <li>Installationsanweisungen hinzugefügt.</li>
 </ul>
 
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Wed Aug 18 14:57:45 2021 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Wed Aug 18 15:04:59 2021 +0200
@@ -30,6 +30,7 @@
     <li>Adds release and end of life dates to versions.</li>
     <li>Adds the total number of comments to the caption.</li>
     <li>Adds assignee to the issue overview tables.</li>
+    <li>Adds mailto link in issue view when the assignee has a mail address.</li>
     <li>Adds install instructions.</li>
 </ul>
 
--- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Wed Aug 18 14:57:45 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Wed Aug 18 15:04:59 2021 +0200
@@ -130,7 +130,14 @@
         <th><fmt:message key="issue.assignee"/></th>
         <td>
             <c:if test="${not empty issue.assignee}">
+                <c:if test="${not empty issue.assignee.mail}">
+                <a href="mailto:<c:out value="${issue.assignee.mail}"/>">
+                    <c:out value="${issue.assignee.displayname}"/>
+                </a>
+                </c:if>
+                <c:if test="${empty issue.assignee.mail}">
                 <c:out value="${issue.assignee.displayname}"/>
+                </c:if>
             </c:if>
             <c:if test="${empty issue.assignee}">
                 <fmt:message key="placeholder.null-assignee" />

mercurial