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