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

Sat, 22 Aug 2020 18:34:36 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 22 Aug 2020 18:34:36 +0200
changeset 98
5c406eef0e5c
parent 97
602f75801644
child 109
2e0669e814ff
permissions
-rw-r--r--

fixes main menu scrolling away

<div class="menuEntry level-${menu.level}"
     <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>

mercurial