Changeset 3fe36de in Git for src/main/resources/templates/moviesListPaged.html
- Timestamp:
- 02/09/22 03:14:08 (3 years ago)
- Branches:
- main
- Children:
- 967b414
- Parents:
- c02189f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/moviesListPaged.html
rc02189f r3fe36de 30 30 31 31 <div class="container mb-4"> 32 <a sec:authorize="isAuthenticated()" th:href="@{/movies/add}" >Додади нов филм</a>32 <a sec:authorize="isAuthenticated()" th:href="@{/movies/add}" class="btn btn-secondary">Додади нов филм</a> 33 33 </div> 34 34 … … 46 46 </span> 47 47 <th:block sec:authorize="isAuthenticated()"> 48 < a class="bottom-heart btn btn-success button-add-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${!likedMovies.contains(movie)}">❤</a>49 < a class="bottom-heart btn btn-danger button-remove-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${likedMovies.contains(movie)}">💔</a>48 <button class="bottom-heart btn btn-success button-add-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${!likedMovies.contains(movie)}">❤</button> 49 <button class="bottom-heart btn btn-danger button-remove-favourite-list" th:movie-id="${movie.getMovieId()}" th:user-id="${user.getUserId()}" th:if="${likedMovies.contains(movie)}">💔</button> 50 50 </th:block> 51 51 </div>
Note:
See TracChangeset
for help on using the changeset viewer.