Mon, 01 Jun 2020 14:46:58 +0200
improves issue overview and adds progress information
universe@80 | 1 | <%-- |
universe@80 | 2 | DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
universe@80 | 3 | |
universe@80 | 4 | Copyright 2018 Mike Becker. All rights reserved. |
universe@80 | 5 | |
universe@80 | 6 | Redistribution and use in source and binary forms, with or without |
universe@80 | 7 | modification, are permitted provided that the following conditions are met: |
universe@80 | 8 | |
universe@80 | 9 | 1. Redistributions of source code must retain the above copyright |
universe@80 | 10 | notice, this list of conditions and the following disclaimer. |
universe@80 | 11 | |
universe@80 | 12 | 2. Redistributions in binary form must reproduce the above copyright |
universe@80 | 13 | notice, this list of conditions and the following disclaimer in the |
universe@80 | 14 | documentation and/or other materials provided with the distribution. |
universe@80 | 15 | |
universe@80 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
universe@80 | 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
universe@80 | 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
universe@80 | 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
universe@80 | 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
universe@80 | 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
universe@80 | 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
universe@80 | 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
universe@80 | 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
universe@80 | 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
universe@80 | 26 | --%> |
universe@80 | 27 | <%@page pageEncoding="UTF-8" %> |
universe@80 | 28 | <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
universe@80 | 29 | <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
universe@80 | 30 | |
universe@86 | 31 | <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.IssuesView" scope="request"/> |
universe@86 | 32 | <c:set var="project" scope="page" value="${viewmodel.project}"/> |
universe@86 | 33 | <c:set var="version" scope="page" value="${viewmodel.version}"/> |
universe@86 | 34 | <%@include file="../jspf/project-header.jsp"%> |
universe@86 | 35 | |
universe@86 | 36 | <c:if test="${not empty version}"> |
universe@86 | 37 | <h2> |
universe@86 | 38 | <fmt:message key="version.label" /> <c:out value="${version.name}" /> - <fmt:message key="version.status.${version.status}"/> |
universe@86 | 39 | <a href="./projects/versions/edit?vid=${version.id}">✎</a> |
universe@86 | 40 | </h2> |
universe@86 | 41 | </c:if> |
universe@80 | 42 | |
universe@80 | 43 | <div id="tool-area"> |
universe@80 | 44 | <div> |
universe@80 | 45 | <a href="./projects/issues/edit" class="button"><fmt:message key="button.issue.create"/></a> |
universe@86 | 46 | <c:if test="${not empty version}"> |
universe@86 | 47 | <a href="./projects/issues/?pid=${project.id}&vid=-1" class="button"><fmt:message key="button.issue.all"/></a> |
universe@86 | 48 | </c:if> |
universe@80 | 49 | </div> |
universe@80 | 50 | </div> |
universe@80 | 51 | |
universe@86 | 52 | <c:set var="issues" value="${viewmodel.issues}"/> |
universe@86 | 53 | <%@include file="../jspf/issue-list.jsp"%> |