Ignore:
Timestamp:
02/08/23 14:41:27 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
2c7a732
Parents:
39a45e6 (diff), 90317ea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of https://github.com/DenicaKj/MovieZone

File:
1 edited

Legend:

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

    r39a45e6 r632e3d8  
    198198    <div class="main">
    199199
    200 <!--<div th:each="projection: ${projections}">-->
    201 
    202         <div th:each="projection: ${projections}" class="container">
     200
     201        <div th:each="film: ${films}" class="container">
    203202            <div class="card">
    204203                <div class="imgBx">
    205                     <img th:src="@{${projection.film.getUrl()}}"/>
     204                    <img th:src="@{${film.getUrl()}}"/>
    206205                </div>
    207206                <div class="contentBx">
    208                     <h2  th:text="${projection.film.getName()}"></h2>
     207                    <h2  th:text="${film.getName()}"></h2>
    209208                    <div class="size">
    210209                        <h3>Duration :</h3>
    211                         <span th:text="${projection.film.getDuration()}"></span>
     210                        <span th:text="${film.getDuration()}"></span>
    212211                    </div>
    213212                    <div class="color">
    214213                        <h3>Genre:</h3>
    215                         <span th:text="${projection.film.getGenre()}"></span>
     214                        <span th:text="${film.getGenre()}"></span>
    216215                    </div>
    217216                </div>
Note: See TracChangeset for help on using the changeset viewer.