src/main/webapp/WEB-INF/jspf/project-header.jsp

changeset 86
0a658e53177c
child 101
c34c81b87674
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/WEB-INF/jspf/project-header.jsp	Mon Jun 01 14:46:58 2020 +0200
@@ -0,0 +1,24 @@
+<%--
+project: Project
+--%>
+<div class="project-attributes">
+    <div class="row">
+        <div class="caption"><fmt:message key="name"/>:</div>
+        <div><c:out value="${project.name}"/></div>
+        <div class="caption"><fmt:message key="description"/>:</div>
+        <div><c:out value="${project.description}"/></div>
+    </div>
+    <div class="row">
+        <div class="caption"><fmt:message key="owner"/>:</div>
+        <div>
+            <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if>
+        </div>
+        <div class="caption"><fmt:message key="repoUrl"/>:</div>
+        <div>
+            <c:if test="${not empty project.repoUrl}">
+                <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
+                        value="${project.repoUrl}"/></a>
+            </c:if>
+        </div>
+    </div>
+</div>

mercurial