1.1 --- a/src/main/webapp/WEB-INF/jsp/project-details.jsp Sun May 24 15:30:43 2020 +0200 1.2 +++ b/src/main/webapp/WEB-INF/jsp/project-details.jsp Sat May 30 15:26:15 2020 +0200 1.3 @@ -28,6 +28,7 @@ 1.4 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 1.5 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 1.6 1.7 +<jsp:useBean id="project" type="de.uapcore.lightpit.entities.Project" scope="request" /> 1.8 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request"/> 1.9 <jsp:useBean id="statsAffected" type="java.util.List<de.uapcore.lightpit.entities.VersionStatistics>" scope="request"/> 1.10 <jsp:useBean id="statsScheduled" type="java.util.List<de.uapcore.lightpit.entities.VersionStatistics>" scope="request"/> 1.11 @@ -36,6 +37,28 @@ 1.12 <jsp:useBean id="issueCategoryEnum" type="de.uapcore.lightpit.entities.IssueCategory[]" scope="request"/> 1.13 <jsp:useBean id="statsHideZeros" type="java.lang.Boolean" scope="request"/> 1.14 1.15 +<div id="project-attributes"> 1.16 + <div class="row"> 1.17 + <div class="caption"><fmt:message key="thead.name"/>:</div> 1.18 + <div><c:out value="${project.name}"/></div> 1.19 + <div class="caption"><fmt:message key="thead.description"/>:</div> 1.20 + <div><c:out value="${project.description}"/></div> 1.21 + </div> 1.22 + <div class="row"> 1.23 + <div class="caption"><fmt:message key="thead.owner"/>:</div> 1.24 + <div> 1.25 + <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if> 1.26 + </div> 1.27 + <div class="caption"><fmt:message key="thead.repoUrl"/>:</div> 1.28 + <div> 1.29 + <c:if test="${not empty project.repoUrl}"> 1.30 + <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out 1.31 + value="${project.repoUrl}"/></a> 1.32 + </c:if> 1.33 + </div> 1.34 + </div> 1.35 +</div> 1.36 + 1.37 <div id="tool-area"> 1.38 <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a> 1.39 <a href="./projects/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>