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

Sat, 23 May 2020 13:34:41 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 23 May 2020 13:34:41 +0200
changeset 77
192298f8161f
parent 71
dca186d3911f
child 97
602f75801644
permissions
-rw-r--r--

bloat removal 1/3 - configurable resource keys

71
dca186d3911f adds breadcrumb menu
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <div class="menuEntry"
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