AJOUT : champs Mes Photos partagées dans la page mes-photos
This commit is contained in:
@@ -43,6 +43,22 @@
|
||||
|
||||
</div>
|
||||
|
||||
<h2>Mes photos partagées</h2>
|
||||
<div>
|
||||
<a th:each="p : ${mesPhotosPartagees.content}"
|
||||
th:href="@{'/photo/' + ${p.id}}">
|
||||
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a th:if="${mesPhotosPartagees.hasPrevious()}"
|
||||
th:href="@{/mes-photos(pageMesPartagees=${pageMesPartagees - 1})}">⬅</a>
|
||||
<span th:text="'Page ' + (${pageMesPartagees}+1)"></span>
|
||||
<a th:if="${mesPhotosPartagees.hasNext()}"
|
||||
th:href="@{/mes-photos(pageMesPartagees=${pageMesPartagees + 1})}">➡</a>
|
||||
</div>
|
||||
|
||||
|
||||
<h2>Photos partagées avec moi</h2>
|
||||
<div>
|
||||
<a th:each="p : ${photosPartagees.content}"
|
||||
|
||||
Reference in New Issue
Block a user