菜单名称国际化处理
This commit is contained in:
@@ -14,17 +14,17 @@
|
|||||||
|
|
||||||
<li class="nav-item <c:if test="${secondStatus.index==0 }"> active open</c:if>">
|
<li class="nav-item <c:if test="${secondStatus.index==0 }"> active open</c:if>">
|
||||||
|
|
||||||
<a class="nav-link nav-toggle"
|
<a class="nav-link nav-toggle"
|
||||||
|
|
||||||
<c:if test="${secondMenu.href != null && secondMenu.href != ''}" var="secondHref">
|
<c:if test="${secondMenu.href != null && secondMenu.href != ''}" var="secondHref">
|
||||||
href="${ctx}/${secondMenu.href }" target="mainFrame" >
|
href="${ctx}/${secondMenu.href }" target="mainFrame" >
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${!secondHref }">
|
<c:if test="${!secondHref }">
|
||||||
href="javascript:;" class="nav-link nav-toggle">
|
href="javascript:;" class="nav-link nav-toggle">
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
<i class="${secondMenu.icon }"></i>
|
<i class="${secondMenu.icon }"></i>
|
||||||
<span class="title"> ${secondMenu.name } <%-- <spring:message code="${secondMenu.code}"></spring:message> --%></span>
|
<span class="title">
|
||||||
|
<%-- ${secondMenu.name } --%> <spring:message code="${secondMenu.code}"></spring:message></span>
|
||||||
<c:if test="${not empty secondMenu.children }" var="secondClid">
|
<c:if test="${not empty secondMenu.children }" var="secondClid">
|
||||||
<span class="arrow open"></span>
|
<span class="arrow open"></span>
|
||||||
</c:if>
|
</c:if>
|
||||||
@@ -39,16 +39,16 @@
|
|||||||
|
|
||||||
<li class="nav-item <c:if test="${not empty thirdMenu.children && thirdStatus.index==0}">active open</c:if>">
|
<li class="nav-item <c:if test="${not empty thirdMenu.children && thirdStatus.index==0}">active open</c:if>">
|
||||||
|
|
||||||
<a class="nav-link nav-toggle"
|
<a class="nav-link nav-toggle"
|
||||||
|
|
||||||
<c:if test="${thirdMenu.href != null && thirdMenu.href != ''}" var="thirdHref">
|
<c:if test="${thirdMenu.href != null && thirdMenu.href != ''}" var="thirdHref">
|
||||||
href="${ctx}/${thirdMenu.href }" target="mainFrame" >
|
href="${ctx}/${thirdMenu.href }" target="mainFrame" >
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${!thirdHref }">
|
<c:if test="${!thirdHref }">
|
||||||
href="javascript:;" class="nav-link nav-toggle">
|
href="javascript:;" class="nav-link nav-toggle">
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
<span class="title">${thirdMenu.name } <%-- <spring:message code="${thirdMenu.code}"></spring:message> --%></span>
|
<span class="title">
|
||||||
|
<%-- ${thirdMenu.name } --%><spring:message code="${thirdMenu.code}"></spring:message></span>
|
||||||
<c:if test="${not empty thirdMenu.children }" var="thiredClid">
|
<c:if test="${not empty thirdMenu.children }" var="thiredClid">
|
||||||
<span class="arrow open"></span>
|
<span class="arrow open"></span>
|
||||||
</c:if>
|
</c:if>
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
<c:forEach items="${thirdMenu.children}" var="fourthMenu">
|
<c:forEach items="${thirdMenu.children}" var="fourthMenu">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="${ctx}/${fourthMenu.href }" target="mainFrame" class="nav-link ">
|
<a href="${ctx}/${fourthMenu.href }" target="mainFrame" class="nav-link ">
|
||||||
${fourthMenu.name } <%-- <spring:message code="${fourthMenu.code}"></spring:message> --%>
|
<%-- ${fourthMenu.name } --%> <spring:message code="${fourthMenu.code}"></spring:message>
|
||||||
<!-- <span class="badge badge-danger">1</span> -->
|
<!-- <span class="badge badge-danger">1</span> -->
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<c:when test="${not empty menu.children and menu.children[0].isTop eq 1 }">
|
<c:when test="${not empty menu.children and menu.children[0].isTop eq 1 }">
|
||||||
|
|
||||||
<a href="javascript:;" id="${menu.id}" data-hover="megamenu-dropdown" data-close-others="true">
|
<a href="javascript:;" id="${menu.id}" data-hover="megamenu-dropdown" data-close-others="true">
|
||||||
${menu.name }<%-- <spring:message code="${menu.code}"></spring:message> --%>
|
<%-- ${menu.name } --%><spring:message code="${menu.code}"></spring:message>
|
||||||
<i class="fa fa-angle-down"></i>
|
<i class="fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@@ -59,7 +59,8 @@
|
|||||||
</c:if>
|
</c:if>
|
||||||
<li>
|
<li>
|
||||||
<a href="javascript:;" id="${secondMenu.id}">
|
<a href="javascript:;" id="${secondMenu.id}">
|
||||||
<i class="fa ${secondMenu.icon }"></i> ${secondMenu.name }<%-- <spring:message code="${secondMenu.code}"></spring:message> --%>
|
<i class="fa ${secondMenu.icon }"></i>
|
||||||
|
<%-- ${secondMenu.name } --%><spring:message code="${secondMenu.code}"></spring:message>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -72,7 +73,7 @@
|
|||||||
|
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
<a href="javascript:;" id="${menu.id}">
|
<a href="javascript:;" id="${menu.id}">
|
||||||
${menu.name }<%-- <spring:message code="${menu.code}"></spring:message> --%>
|
<%-- ${menu.name } --%><spring:message code="${menu.code}"></spring:message>
|
||||||
</a>
|
</a>
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
|
|||||||
Reference in New Issue
Block a user