Changeset ee0e297 for src/main/resources


Ignore:
Timestamp:
10/07/21 20:29:27 (3 years ago)
Author:
KostaFortumanov <kfortumanov@…>
Branches:
master
Children:
7888b17
Parents:
0c37625
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/common/navbar.html

    r0c37625 ree0e297  
    3939                    <a sec:authorize="isAnonymous()" type="button" class="btn btn-warning" th:href="@{/register}">Sign-up</a>
    4040                    <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>
    4242                    <a sec:authorize="isAuthenticated()" type="button" class="btn btn-warning" th:href="@{/logout}">Logout</a>
    4343                </div>
Note: See TracChangeset for help on using the changeset viewer.