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

Sat, 29 Aug 2020 17:32:59 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 29 Aug 2020 17:32:59 +0200
changeset 107
b5f740a87af4
parent 97
602f75801644
child 109
2e0669e814ff
permissions
-rw-r--r--

fixes misbehavior when a non-existing project ID is selected

97
602f75801644 first part of navigation redesign
Mike Becker <universe@uap-core.de>
parents: 71
diff changeset
1 <div class="menuEntry level-${menu.level}"
71
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 <c:if test="${menu.active}">data-active</c:if> >
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 <a href="${menu.pathName}">
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 <c:if test="${empty menu.resourceKey}">
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 <c:out value="${menu.text}"/>
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 </c:if>
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 <c:if test="${not empty menu.resourceKey}">
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 <fmt:bundle basename="${menu.resourceKey.bundle}">
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 <fmt:message key="${menu.resourceKey.key}"/>
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 </fmt:bundle>
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 </c:if>
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 </a>
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 </div>

mercurial