src/main/webapp/WEB-INF/jsp/project-details.jsp

Sat, 30 May 2020 15:28:27 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 30 May 2020 15:28:27 +0200
changeset 82
4ec7f2600c83
parent 81
1a2e7b5d48f7
child 86
0a658e53177c
permissions
-rw-r--r--

removes stupid thead prefix from every resource file

universe@47 1 <%--
universe@47 2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@47 3
universe@47 4 Copyright 2018 Mike Becker. All rights reserved.
universe@47 5
universe@47 6 Redistribution and use in source and binary forms, with or without
universe@47 7 modification, are permitted provided that the following conditions are met:
universe@47 8
universe@47 9 1. Redistributions of source code must retain the above copyright
universe@47 10 notice, this list of conditions and the following disclaimer.
universe@47 11
universe@47 12 2. Redistributions in binary form must reproduce the above copyright
universe@47 13 notice, this list of conditions and the following disclaimer in the
universe@47 14 documentation and/or other materials provided with the distribution.
universe@47 15
universe@47 16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@47 17 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@47 18 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
universe@47 19 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
universe@47 20 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
universe@47 21 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
universe@47 22 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
universe@47 23 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
universe@47 24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
universe@47 25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
universe@47 26 --%>
universe@47 27 <%@page pageEncoding="UTF-8" %>
universe@47 28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
universe@47 29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
universe@47 30
universe@81 31 <jsp:useBean id="project" type="de.uapcore.lightpit.entities.Project" scope="request" />
universe@59 32 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request"/>
universe@80 33 <jsp:useBean id="statsAffected" type="java.util.List<de.uapcore.lightpit.entities.VersionStatistics>" scope="request"/>
universe@80 34 <jsp:useBean id="statsScheduled" type="java.util.List<de.uapcore.lightpit.entities.VersionStatistics>" scope="request"/>
universe@80 35 <jsp:useBean id="statsResolved" type="java.util.List<de.uapcore.lightpit.entities.VersionStatistics>" scope="request"/>
universe@80 36 <jsp:useBean id="issueStatusEnum" type="de.uapcore.lightpit.entities.IssueStatus[]" scope="request"/>
universe@80 37 <jsp:useBean id="issueCategoryEnum" type="de.uapcore.lightpit.entities.IssueCategory[]" scope="request"/>
universe@80 38 <jsp:useBean id="statsHideZeros" type="java.lang.Boolean" scope="request"/>
universe@47 39
universe@81 40 <div id="project-attributes">
universe@81 41 <div class="row">
universe@82 42 <div class="caption"><fmt:message key="name"/>:</div>
universe@81 43 <div><c:out value="${project.name}"/></div>
universe@82 44 <div class="caption"><fmt:message key="description"/>:</div>
universe@81 45 <div><c:out value="${project.description}"/></div>
universe@81 46 </div>
universe@81 47 <div class="row">
universe@82 48 <div class="caption"><fmt:message key="owner"/>:</div>
universe@81 49 <div>
universe@81 50 <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if>
universe@81 51 </div>
universe@82 52 <div class="caption"><fmt:message key="repoUrl"/>:</div>
universe@81 53 <div>
universe@81 54 <c:if test="${not empty project.repoUrl}">
universe@81 55 <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
universe@81 56 value="${project.repoUrl}"/></a>
universe@81 57 </c:if>
universe@81 58 </div>
universe@81 59 </div>
universe@81 60 </div>
universe@81 61
universe@47 62 <div id="tool-area">
universe@78 63 <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
universe@78 64 <a href="./projects/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>
universe@80 65 <a href="./projects/issues/" class="button"><fmt:message key="button.issue.list"/></a>
universe@80 66 <c:if test="${not statsHideZeros}">
universe@80 67 <a href="./projects/view?reduced=1" class="button"><fmt:message key="button.stats.hidezeros"/></a>
universe@80 68 </c:if>
universe@80 69 <c:if test="${statsHideZeros}">
universe@80 70 <a href="./projects/view?reduced=0" class="button"><fmt:message key="button.stats.showzeros"/></a>
universe@80 71 </c:if>
universe@47 72 </div>
universe@47 73
universe@80 74 <div id="version-stats">
universe@80 75 <c:forEach var="version" items="${versions}" varStatus="iter">
universe@80 76 <h2>
universe@80 77 <fmt:message key="version.label" /> <c:out value="${version.name}" /> - <fmt:message key="version.status.${version.status}"/>
universe@80 78 <a href="./projects/versions/edit?id=${version.id}">&#x270e;</a>
universe@80 79 </h2>
universe@70 80
universe@80 81 <h3><fmt:message key="version.statistics.affected" /></h3>
universe@80 82 <c:set var="stats" value="${statsAffected[iter.index]}" />
universe@80 83 <%@include file="../jspf/version-stats.jsp" %>
universe@80 84
universe@80 85 <h3><fmt:message key="version.statistics.scheduled" /></h3>
universe@80 86 <c:set var="stats" value="${statsScheduled[iter.index]}" />
universe@80 87 <%@include file="../jspf/version-stats.jsp" %>
universe@80 88
universe@80 89 <h3><fmt:message key="version.statistics.resolved" /></h3>
universe@80 90 <c:set var="stats" value="${statsResolved[iter.index]}" />
universe@80 91 <%@include file="../jspf/version-stats.jsp" %>
universe@80 92 </c:forEach>
universe@80 93 </div>

mercurial