- <%@ page pageEncoding="UTF-8"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <c:set var="educationSidebarTitle" value="${empty parNavigation.name ? (empty navigation.name ? '学院栏目' : navigation.name) : parNavigation.name}"/>
- <c:if test="${parNavigation.idcard eq 'FFKJ_EDU_HOME_GROUP' or parNavigation.idcard eq 'FFKJ_DEPT_HOME_GROUP' or educationSidebarTitle eq '首页子栏目'}"><c:set var="educationSidebarTitle" value="首页"/></c:if>
- <c:set var="educationActiveSidebarNavId" value="${empty educationActiveSidebarNavId ? navigation.navigationid : educationActiveSidebarNavId}"/>
- <aside class="edu-sidebar">
- <div class="edu-sidebar-head"><small>COLUMN NAVIGATION</small><h2>${educationSidebarTitle}</h2></div>
- <nav class="edu-sidebar-nav" aria-label="${educationSidebarTitle}栏目导航">
- <c:choose>
- <c:when test="${not empty childrenNavList}"><c:forEach items="${childrenNavList}" var="item"><a class="${item.navigationid eq educationActiveSidebarNavId ? 'is-active' : ''}" href="${item.href}" target="${item.target}" rel="noopener">${item.name}</a></c:forEach></c:when>
- <c:when test="${not empty brotherNavList}"><c:forEach items="${brotherNavList}" var="item"><a class="${item.navigationid eq educationActiveSidebarNavId ? 'is-active' : ''}" href="${item.href}" target="${item.target}" rel="noopener">${item.name}</a></c:forEach></c:when>
- <c:otherwise><c:forEach items="${navList}" var="item"><c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}"><a class="${item.navigationid eq educationActiveSidebarNavId ? 'is-active' : ''}" href="${item.href}" target="${item.target}" rel="noopener">${item.name}</a></c:if></c:forEach></c:otherwise>
- </c:choose>
- </nav>
- </aside>
|