fix caption for repo url shown when repo url is empty - fixes #405

Sun, 04 Aug 2024 14:43:17 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 04 Aug 2024 14:43:17 +0200
changeset 309
a28b91693163
parent 308
7b5f6dd8dad6
child 310
bbf4eb9a71f8

fix caption for repo url shown when repo url is empty - fixes #405

src/main/webapp/WEB-INF/jspf/project-header.jspf file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jspf/project-header.jspf	Wed Jul 31 21:18:56 2024 +0200
+++ b/src/main/webapp/WEB-INF/jspf/project-header.jspf	Sun Aug 04 14:43:17 2024 +0200
@@ -11,13 +11,13 @@
                 RSS
             </a>
         </div>
+        <c:if test="${not empty project.repoUrl}">
         <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>
+            <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
+                    value="${project.repoUrl}"/></a>
         </div>
+        </c:if>
     </div>
 </div>
 <div id="project-details-header" class="table project-attributes">

mercurial