Changeset ee0e297 for src/main/resources/templates/common/navbar.html
- Timestamp:
- 10/07/21 20:29:27 (3 years ago)
- Branches:
- master
- Children:
- 7888b17
- Parents:
- 0c37625
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/common/navbar.html
r0c37625 ree0e297 39 39 <a sec:authorize="isAnonymous()" type="button" class="btn btn-warning" th:href="@{/register}">Sign-up</a> 40 40 <a sec:authorize="isAuthenticated() and hasAuthority('USER')" type="button" class="btn btn-outline-light me-2" th:href="@{/userInformation}">My profile - <span th:text="${user.firstName}"></span></a> 41 <a sec:authorize="isAuthenticated() and hasAuthority('MODERATOR')" type="button" class="btn btn-outline-light me-2" th:href="@{/moderator/myApprovedPosts }">My approved posts - <span th:text="${user.firstName} + ${user.lastName}"></span></a>41 <a sec:authorize="isAuthenticated() and hasAuthority('MODERATOR')" type="button" class="btn btn-outline-light me-2" th:href="@{/moderator/myApprovedPosts?page=1&sort=id}">My approved posts - <span th:text="${user.firstName} + ${user.lastName}"></span></a> 42 42 <a sec:authorize="isAuthenticated()" type="button" class="btn btn-warning" th:href="@{/logout}">Logout</a> 43 43 </div>
Note:
See TracChangeset
for help on using the changeset viewer.