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

Fri, 02 Apr 2021 11:59:14 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 02 Apr 2021 11:59:14 +0200
changeset 184
e8eecee6aadf
parent 181
502a10e24b85
child 199
59393c8cc557
permissions
-rw-r--r--

completes kotlin migration

     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="project.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="project.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="project.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}">
    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