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

Sat, 29 Aug 2020 17:32:59 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 29 Aug 2020 17:32:59 +0200
changeset 107
b5f740a87af4
parent 101
c34c81b87674
permissions
-rw-r--r--

fixes misbehavior when a non-existing project ID is selected

<%--
project: Project
--%>
<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>
</div>

mercurial