Thu, 13 May 2021 11:33:15 +0200
removes whitespaces from description
universe@47 | 1 | <%-- |
universe@47 | 2 | DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
universe@47 | 3 | |
universe@180 | 4 | Copyright 2021 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@184 | 31 | <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.ProjectsView" scope="request"/> |
universe@47 | 32 | |
universe@184 | 33 | <c:if test="${empty viewmodel.projects}"> |
universe@47 | 34 | <div class="info-box"> |
universe@72 | 35 | <fmt:message key="no-projects"/> |
universe@47 | 36 | </div> |
universe@47 | 37 | </c:if> |
universe@47 | 38 | |
universe@47 | 39 | <div id="tool-area"> |
universe@184 | 40 | <a href="./projects/-/create" class="button"><fmt:message key="button.project.create"/></a> |
universe@47 | 41 | </div> |
universe@47 | 42 | |
universe@184 | 43 | <c:if test="${not empty viewmodel.projects}"> |
universe@81 | 44 | <table id="project-list" class="datatable medskip"> |
universe@72 | 45 | <colgroup> |
universe@72 | 46 | <col> |
universe@81 | 47 | <col width="20%"> |
universe@81 | 48 | <col width="50%"> |
universe@86 | 49 | <col width="6%"> |
universe@86 | 50 | <col width="6%"> |
universe@86 | 51 | <col width="6%"> |
universe@86 | 52 | <col width="6%"> |
universe@86 | 53 | <col width="6%"> |
universe@72 | 54 | </colgroup> |
universe@72 | 55 | <thead> |
universe@72 | 56 | <tr> |
universe@72 | 57 | <th></th> |
universe@181 | 58 | <th><fmt:message key="project.name"/></th> |
universe@181 | 59 | <th><fmt:message key="project.repoUrl"/></th> |
universe@86 | 60 | <th class="hcenter"><fmt:message key="version.latest"/></th> |
universe@86 | 61 | <th class="hcenter"><fmt:message key="version.next"/></th> |
universe@86 | 62 | <th class="hcenter"><fmt:message key="issues.open"/></th> |
universe@86 | 63 | <th class="hcenter"><fmt:message key="issues.active"/></th> |
universe@86 | 64 | <th class="hcenter"><fmt:message key="issues.done"/></th> |
universe@47 | 65 | </tr> |
universe@72 | 66 | </thead> |
universe@72 | 67 | <tbody> |
universe@184 | 68 | <c:forEach var="projectInfo" items="${viewmodel.projects}"> |
universe@86 | 69 | <c:set var="project" scope="page" value="${projectInfo.project}"/> |
universe@72 | 70 | <tr class="nowrap"> |
universe@134 | 71 | <td style="width: 2em;"><a href="./projects/${project.node}/edit">✎</a></td> |
universe@184 | 72 | <td><a href="./projects/${project.node}"><c:out value="${project.name}"/></a> |
universe@72 | 73 | </td> |
universe@72 | 74 | <td> |
universe@72 | 75 | <c:if test="${not empty project.repoUrl}"> |
universe@72 | 76 | <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out |
universe@72 | 77 | value="${project.repoUrl}"/></a> |
universe@72 | 78 | </c:if> |
universe@72 | 79 | </td> |
universe@86 | 80 | <td class="hright"> |
universe@86 | 81 | <c:if test="${not empty projectInfo.latestVersion}"> |
universe@184 | 82 | <a href="./projects/${project.node}/issues/${projectInfo.latestVersion.node}/-/"><c:out value="${projectInfo.latestVersion.name}"/></a> |
universe@86 | 83 | </c:if> |
universe@86 | 84 | </td> |
universe@86 | 85 | <td class="hright"> |
universe@86 | 86 | <c:if test="${not empty projectInfo.nextVersion}"> |
universe@184 | 87 | <a href="./projects/${project.node}/issues/${projectInfo.nextVersion.node}/-/"><c:out value="${projectInfo.nextVersion.name}"/></a> |
universe@86 | 88 | </c:if> |
universe@86 | 89 | </td> |
universe@86 | 90 | <td class="hright">${projectInfo.issueSummary.open}</td> |
universe@86 | 91 | <td class="hright">${projectInfo.issueSummary.active}</td> |
universe@86 | 92 | <td class="hright">${projectInfo.issueSummary.done}</td> |
universe@72 | 93 | </tr> |
universe@72 | 94 | </c:forEach> |
universe@72 | 95 | </tbody> |
universe@72 | 96 | </table> |
universe@47 | 97 | </c:if> |