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

changeset 348
1dc9c405e9e2
parent 309
a28b91693163
--- a/src/main/webapp/WEB-INF/jspf/project-header.jspf	Thu Jan 30 21:20:27 2025 +0100
+++ b/src/main/webapp/WEB-INF/jspf/project-header.jspf	Sat Feb 01 18:52:08 2025 +0100
@@ -1,6 +1,7 @@
 <%--
 project: Project
 component: Component (optional)
+variant: Variant (optional)
 --%>
 <div id="project-details-header-reduced" style="display:none" class="table project-attributes">
     <div class="row">
@@ -64,4 +65,12 @@
             </div>
         </div>
     </c:if>
+    <c:if test="${not empty variant}">
+        <div class="row">
+            <div class="caption"><fmt:message key="variant"/>:</div>
+            <div><c:out value="${variant.name}"/></div>
+            <div class="caption"><fmt:message key="description"/>:</div>
+            <div><c:out value="${variant.description}"/></div>
+        </div>
+    </c:if>
 </div>

mercurial