src/main/webapp/WEB-INF/jspf/menu-entry.jspf

changeset 115
c27638a50c92
parent 109
2e0669e814ff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/WEB-INF/jspf/menu-entry.jspf	Fri Oct 09 11:41:35 2020 +0200
@@ -0,0 +1,13 @@
+<div class="menuEntry"
+     <c:if test="${menu.active}">data-active</c:if> >
+    <a href="${menu.pathName}">
+        <c:if test="${empty menu.resourceKey}">
+            <c:out value="${menu.text}"/>
+        </c:if>
+        <c:if test="${not empty menu.resourceKey}">
+            <fmt:bundle basename="${menu.resourceKey.bundle}">
+                <fmt:message key="${menu.resourceKey.key}"/>
+            </fmt:bundle>
+        </c:if>
+    </a>
+</div>
\ No newline at end of file

mercurial