src/main/webapp/WEB-INF/jsp/issue-view.jsp

changeset 224
da975b1f188d
parent 214
69647ddb57f2
child 226
c8e1b5282f69
equal deleted inserted replaced
223:df31e4332063 224:da975b1f188d
25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 --%> 26 --%>
27 <%@page pageEncoding="UTF-8" %> 27 <%@page pageEncoding="UTF-8" %>
28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
30 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
30 31
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueDetailView" scope="request"/> 32 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssueDetailView" scope="request"/>
32 33
33 <c:set var="project" scope="page" value="${viewmodel.project}"/> 34 <c:set var="project" scope="page" value="${viewmodel.project}"/>
34 <c:set var="component" scope="page" value="${viewmodel.component}"/> 35 <c:set var="component" scope="page" value="${viewmodel.component}"/>
150 <fmt:message key="button.issue.edit"/> 151 <fmt:message key="button.issue.edit"/>
151 </a> 152 </a>
152 </div> 153 </div>
153 154
154 <hr class="comments-separator"/> 155 <hr class="comments-separator"/>
155 <h2><fmt:message key="issue.comments"/></h2> 156 <h2>
157 <fmt:message key="issue.comments"/>
158 <c:if test="${not empty viewmodel.comments}">
159 (${fn:length(viewmodel.comments)})
160 </c:if>
161 </h2>
156 <c:if test="${viewmodel.issue.id ge 0}"> 162 <c:if test="${viewmodel.issue.id ge 0}">
157 <form id="comment-form" action="${issuesHref}${issue.id}/comment" method="post"> 163 <form id="comment-form" action="${issuesHref}${issue.id}/comment" method="post">
158 <table class="formtable fullwidth"> 164 <table class="formtable fullwidth">
159 <tbody> 165 <tbody>
160 <tr> 166 <tr>

mercurial