7 lines
429 B
HTML
7 lines
429 B
HTML
|
<div th:fragment="navbarEntry (endpoint, imgSrc, titleKey, descKey)" th:if="${@endpointConfiguration.isEndpointEnabled(endpoint)}">
|
||
|
<a class="dropdown-item" href="#" th:href="@{${endpoint}}" th:classappend="${endpoint.equals(currentPage)} ? 'active' : ''" th:title="#{${descKey}}">
|
||
|
<img class="icon" th:src="@{${imgSrc}}" alt="icon">
|
||
|
<span class="icon-text" th:text="#{${titleKey}}"></span>
|
||
|
</a>
|
||
|
</div>
|