#158 adds total number of comments

Wed, 18 Aug 2021 12:47:32 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 18 Aug 2021 12:47:32 +0200
changeset 224
da975b1f188d
parent 223
df31e4332063
child 225
87328572e36f

#158 adds total number of comments

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
     1.1 --- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Thu Aug 12 20:03:04 2021 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Wed Aug 18 12:47:32 2021 +0200
     1.3 @@ -27,6 +27,7 @@
     1.4  <h3>Version 1.0 (Vorschau)</h3>
     1.5  
     1.6  <ul>
     1.7 +    <li>Gesamtanzahl der Kommentare wird nun angezeigt.</li>
     1.8      <li>Spalte für zugewiesener Entwickler zu den Vorgangstabellen hinzugefügt.</li>
     1.9      <li>Installationsanweisungen hinzugefügt.</li>
    1.10  </ul>
     2.1 --- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Thu Aug 12 20:03:04 2021 +0200
     2.2 +++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Wed Aug 18 12:47:32 2021 +0200
     2.3 @@ -27,6 +27,7 @@
     2.4  <h3>Version 1.0 (snapshot)</h3>
     2.5  
     2.6  <ul>
     2.7 +    <li>Adds the total number of comments to the caption.</li>
     2.8      <li>Adds assignee to the issue overview tables.</li>
     2.9      <li>Adds install instructions.</li>
    2.10  </ul>
     3.1 --- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Thu Aug 12 20:03:04 2021 +0200
     3.2 +++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Wed Aug 18 12:47:32 2021 +0200
     3.3 @@ -27,6 +27,7 @@
     3.4  <%@page pageEncoding="UTF-8" %>
     3.5  <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
     3.6  <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
     3.7 +<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
     3.8  
     3.9  <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueDetailView" scope="request"/>
    3.10  
    3.11 @@ -152,7 +153,12 @@
    3.12  </div>
    3.13  
    3.14  <hr class="comments-separator"/>
    3.15 -<h2><fmt:message key="issue.comments"/></h2>
    3.16 +<h2>
    3.17 +    <fmt:message key="issue.comments"/>
    3.18 +    <c:if test="${not empty viewmodel.comments}">
    3.19 +        (${fn:length(viewmodel.comments)})
    3.20 +    </c:if>
    3.21 +</h2>
    3.22  <c:if test="${viewmodel.issue.id ge 0}">
    3.23  <form id="comment-form" action="${issuesHref}${issue.id}/comment" method="post">
    3.24      <table class="formtable fullwidth">

mercurial