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

Fri, 24 Nov 2023 00:07:26 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 24 Nov 2023 00:07:26 +0100
changeset 295
1c31921664c4
parent 266
65c72e65ff67
child 309
a28b91693163
permissions
-rw-r--r--

fix broken link in "create issue" button

<%--
project: Project
component: Component (optional)
--%>
<div id="project-details-header-reduced" style="display:none" class="table project-attributes">
    <div class="row">
        <div class="caption"><fmt:message key="feed"/>:</div>
        <div>
            <a class="rss-feed" href="./feed/${project.node}/issues.rss">
                <img src="./rss.svg" alt="Feed" style="width: 1em; height: 1em;">
                RSS
            </a>
        </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>
</div>
<div id="project-details-header" class="table project-attributes">
    <div class="row">
        <div class="caption"><fmt:message key="feed"/>:</div>
        <div>
            <a class="rss-feed" href="./feed/${project.node}/issues.rss">
                <img src="./rss.svg" alt="Feed" style="width: 1em; height: 1em;">
                RSS
            </a>
        </div>
    </div>
    <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