minor edits

This commit is contained in:
Zakharov_Rostislav 2024-06-09 13:21:51 +04:00
parent a4c04b94c0
commit b8c94f0659

View File

@ -37,6 +37,10 @@
Избранное Избранное
</a> </a>
<th:block sec:authorize="hasRole('ADMIN')"> <th:block sec:authorize="hasRole('ADMIN')">
<a class="nav-link" href="/api/1.0/book"
th:classappend="${activeLink.startsWith('/api/1.0/book') ? 'active' : ''}">
Книги
</a>
<a class="nav-link" href="/api/1.0/user" <a class="nav-link" href="/api/1.0/user"
th:classappend="${activeLink.startsWith('/api/1.0/user') ? 'active' : ''}"> th:classappend="${activeLink.startsWith('/api/1.0/user') ? 'active' : ''}">
Пользователи Пользователи
@ -49,10 +53,6 @@
th:classappend="${activeLink.startsWith('/api/1.0/type') ? 'active' : ''}"> th:classappend="${activeLink.startsWith('/api/1.0/type') ? 'active' : ''}">
Жанры книг Жанры книг
</a> </a>
<a class="nav-link" href="/api/1.0/book"
th:classappend="${activeLink.startsWith('/api/1.0/book') ? 'active' : ''}">
Книги
</a>
<a class="nav-link" href="/h2-console/" target="_blank">Консоль H2</a> <a class="nav-link" href="/h2-console/" target="_blank">Консоль H2</a>
</th:block> </th:block>
</ul> </ul>