Ignore:
Timestamp:
02/06/22 22:56:26 (3 years ago)
Author:
Test <matonikolov77@…>
Branches:
main
Children:
3c0f9a9, ad4243e
Parents:
42d565b
Message:

Resolved bux for fronted and repaired filtering through title and genres for movies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/moviesList.html

    r42d565b r7f36551  
    1212    <div class="container mb-4">
    1313        <div class="row" th:each="row: ${movie_rows}" >
    14             <div class="col-md-3" th:each="movie: ${row}" >
     14            <div class="col-md-3 elements" th:each="movie: ${row}" >
    1515                    <div class="card-body card bg-image" th:style="'background:url(' + ${movie.getImageUrl()} + ') no-repeat center #eee;'">
    1616                        <a class="card-text-center" style="color: white" th:href="@{'/movies/{id}' (id=${movie.getMovieId()})}" >
    1717                        <h3 class="card-title title" th:text="${movie.getTitle()}"></h3>
     18                            <span th:each="genre: ${movie.getGenres()}"  th:text="${genre?.getGenre()?.getGenreType()}" hidden class="card-genre"></span>
     19
    1820                        </a>
    1921                        <h3 class="card-text bottom" th:text="${'Rated '+movie.getImdbRating()}"></h3>
Note: See TracChangeset for help on using the changeset viewer.