Changeset 1e7126f for src/main/resources/templates/fragments/header.html
- Timestamp:
- 08/24/23 02:28:14 (15 months ago)
- Branches:
- master
- Children:
- bcb4acc
- Parents:
- 40935d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/fragments/header.html
r40935d3 r1e7126f 69 69 <li class="begin"><a href="/myTickets">Мои Карти</a></li> 70 70 </th:block> 71 <th:block sec:authorize="hasAuthority('ROLE_ADMIN')"> 72 <li class="begin"><a href="/workers">Вработени</a></li> 73 </th:block> 74 <th:block sec:authorize="hasAuthority('ROLE_ADMIN')"> 75 <li class="begin"><a href="/addProjection">Нова Проекција</a></li> 76 </th:block> 77 <th:block sec:authorize="hasAuthority('ROLE_ADMIN')"> 78 <li class="begin"><a href="/addFilm">Нов Филм</a></li> 79 </th:block> 80 <th:block sec:authorize="hasAuthority('ROLE_ADMIN')"> 81 <li class="begin"><a href="/addEvent">Нов Настан</a></li> 71 72 <th:block sec:authorize="hasAuthority('ROLE_ADMIN')" th:if="${#request.getRemoteUser()}"> 73 <li class="nav-item dropdown" style="width: 20px"> 74 <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="padding: 0"> 75 </a> 76 <div class="dropdown-menu" aria-labelledby="navbarDropdown"> 77 <a class="dropdown-item" href="/workers">Вработени</a> 78 <a class="dropdown-item" href="/addProjection">Нова Проекција</a> 79 <a class="dropdown-item" href="/addFilm">Нов Филм</a> 80 <a class="dropdown-item" href="/addEvent">Нов Настан</a> 81 <a class="dropdown-item" href="/addDiscount">Нов Попуст</a> 82 </div> 83 </li> 82 84 </th:block> 83 85 </ul> 84 86 <ul class="menu-right"> 85 87 <th:block sec:authorize="hasAuthority('ROLE_ADMIN')" th:if="${#request.getRemoteUser() != null}"> 88 <li class="reg"> 89 <a href="/profileWorker"> 90 <th:block th:text="${#request.getRemoteUser()}"></th:block> 91 </a> 92 </li> 93 </th:block> 94 <th:block sec:authorize="hasAuthority('ROLE_WORKER')" th:if="${#request.getRemoteUser() != null}"> 86 95 <li class="reg"> 87 96 <a href="/profileWorker">
Note:
See TracChangeset
for help on using the changeset viewer.