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

Sun, 20 Dec 2020 11:06:25 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 20 Dec 2020 11:06:25 +0100
changeset 166
6eede6088d41
parent 134
f47e82cd6077
child 181
502a10e24b85
permissions
-rw-r--r--

minimize footprint of flexmark - fixes #116

<%--
project: Project
component: Component (optional)
--%>
<div class="table 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>
    <c:if test="${not empty component and component.id gt 0}">
        <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