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

Sat, 15 May 2021 16:19:29 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 15 May 2021 16:19:29 +0200
changeset 199
59393c8cc557
parent 184
e8eecee6aadf
child 266
65c72e65ff67
permissions
-rw-r--r--

#109 adds RSS feed button to project header and changes feed output slightly

     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="feed"/>:</div>
     8         <div class="caption">
     9             <a class="rss-feed" href="./feed/${project.node}/issues.rss">
    10                 <img src="./rss.svg" alt="Feed" style="width: 1em; height: 1em;">
    11                 RSS
    12             </a>
    13         </div>
    14     </div>
    15     <div class="row">
    16         <div class="caption"><fmt:message key="project.name"/>:</div>
    17         <div><c:out value="${project.name}"/></div>
    18         <div class="caption"><fmt:message key="description"/>:</div>
    19         <div><c:out value="${project.description}"/></div>
    20     </div>
    21     <div class="row">
    22         <div class="caption"><fmt:message key="project.owner"/>:</div>
    23         <div>
    24             <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if>
    25         </div>
    26         <div class="caption"><fmt:message key="project.repoUrl"/>:</div>
    27         <div>
    28             <c:if test="${not empty project.repoUrl}">
    29                 <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
    30                         value="${project.repoUrl}"/></a>
    31             </c:if>
    32         </div>
    33     </div>
    34     <c:if test="${not empty component}">
    35         <div class="row">
    36             <div class="caption"><fmt:message key="component"/>:</div>
    37             <div><c:out value="${component.name}"/></div>
    38             <div class="caption"><fmt:message key="component.lead"/>:</div>
    39             <div>
    40                 <c:if test="${not empty component.lead}">
    41                     <c:out value="${component.lead.displayname}"/>
    42                 </c:if>
    43                 <c:if test="${empty component.lead}">
    44                     <fmt:message key="placeholder.null-lead"/>
    45                 </c:if>
    46             </div>
    47         </div>
    48     </c:if>
    49 </div>

mercurial