Changeset 5306751 for src/main/resources/templates/common/navbar.html
- Timestamp:
- 09/04/21 11:14:25 (3 years ago)
- Branches:
- master
- Children:
- ab49338
- Parents:
- 194776a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/common/navbar.html
r194776a r5306751 9 9 <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> 10 10 <div class="container-fluid"> 11 <a class="navbar-brand" href="#">12 <img th:src="@{ image/charity.png}" class="bi me-2" width="40" height="32" />11 <a class="navbar-brand" th:href="@{/}"> 12 <img th:src="@{/image/charity.png}" class="bi me-2" width="40" height="32" /> 13 13 <span class="fs-4">Charitable</span> 14 14 </a> … … 20 20 <ul class="navbar-nav me-auto mb-2 mb-md-0"> 21 21 <li class="nav-item"> 22 <a th:href="@{/}" class="nav-link px-2 text-white">Home</a>22 <a sec:authorize="isAnonymous() or hasAuthority('USER')" th:href="@{/}" class="nav-link px-2 text-white">Home</a> 23 23 </li> 24 24 <li class="nav-item"> 25 <a th:href="@{/album?page=1}" class="nav-link px-2 text-white">Posts</a> 25 <a sec:authorize="isAnonymous() or hasAuthority('USER')" th:href="@{/album?page=1}" class="nav-link px-2 text-white">Posts</a> 26 <a sec:authorize="hasAuthority('MODERATOR')" th:href="@{/moderator/approval}" class="nav-link px-2 text-white">Posts for approval</a> 26 27 </li> 27 28 <li class="nav-item"> 28 <a th:href="@{/upload}" class="nav-link px-2 text-white">Upload</a> 29 <a sec:authorize="hasAuthority('USER')" th:href="@{/upload}" class="nav-link px-2 text-white">Upload</a> 30 <a sec:authorize="hasAuthority('MODERATOR')" th:href="@{/moderator/report}" class="nav-link px-2 text-white">Reported posts</a> 29 31 </li> 30 32 </ul>
Note:
See TracChangeset
for help on using the changeset viewer.