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

Tue, 11 May 2021 16:00:28 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 11 May 2021 16:00:28 +0200
changeset 189
f7de8158b41c
parent 184
e8eecee6aadf
child 199
59393c8cc557
permissions
-rw-r--r--

fixes #137 - leaking prepared statements

<%--
project: Project
component: Component (optional)
--%>
<div class="table project-attributes">
    <div class="row">
        <div class="caption"><fmt:message key="project.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="project.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="project.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>
    <c:if test="${not empty component}">
        <div class="row">
            <div class="caption"><fmt:message key="component"/>:</div>
            <div><c:out value="${component.name}"/></div>
            <div class="caption"><fmt:message key="component.lead"/>:</div>
            <div>
                <c:if test="${not empty component.lead}">
                    <c:out value="${component.lead.displayname}"/>
                </c:if>
                <c:if test="${empty component.lead}">
                    <fmt:message key="placeholder.null-lead"/>
                </c:if>
            </div>
        </div>
    </c:if>
</div>

mercurial