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

Sat, 17 Oct 2020 19:56:50 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 17 Oct 2020 19:56:50 +0200
changeset 134
f47e82cd6077
parent 115
c27638a50c92
child 181
502a10e24b85
permissions
-rw-r--r--

completes feature: project components

     1 <%--
     2 project: Project
     3 component: Component (optional)
     4 --%>
     5 <div class="table project-attributes">
     6     <div class="row">
     7         <div class="caption"><fmt:message key="name"/>:</div>
     8         <div><c:out value="${project.name}"/></div>
     9         <div class="caption"><fmt:message key="description"/>:</div>
    10         <div><c:out value="${project.description}"/></div>
    11     </div>
    12     <div class="row">
    13         <div class="caption"><fmt:message key="owner"/>:</div>
    14         <div>
    15             <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if>
    16         </div>
    17         <div class="caption"><fmt:message key="repoUrl"/>:</div>
    18         <div>
    19             <c:if test="${not empty project.repoUrl}">
    20                 <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
    21                         value="${project.repoUrl}"/></a>
    22             </c:if>
    23         </div>
    24     </div>
    25     <c:if test="${not empty component and component.id gt 0}">
    26         <div class="row">
    27             <div class="caption"><fmt:message key="component"/>:</div>
    28             <div><c:out value="${component.name}"/></div>
    29             <div class="caption"><fmt:message key="component.lead"/>:</div>
    30             <div>
    31                 <c:if test="${not empty component.lead}">
    32                     <c:out value="${component.lead.displayname}"/>
    33                 </c:if>
    34                 <c:if test="${empty component.lead}">
    35                     <fmt:message key="placeholder.null-lead"/>
    36                 </c:if>
    37             </div>
    38         </div>
    39     </c:if>
    40 </div>

mercurial