FEAT : Ajout du mécanisme d'album avec partage et visibilité
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<p><a th:href="@{/}">Retour accueil</a></p>
|
||||
<h2>Mes photos privées</h2>
|
||||
<div>
|
||||
<a th:each="p : ${photosPrivees.content}"
|
||||
<a th:each="p : ${photosPrivees.content}" th:if="${p != null}"
|
||||
th:href="@{'/photo/' + ${p.id}}">
|
||||
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
|
||||
</a>
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<h2>Mes photos publiques</h2>
|
||||
<div>
|
||||
<a th:each="p : ${photosPubliques.content}"
|
||||
<a th:each="p : ${photosPubliques.content}" th:if="${p != null}"
|
||||
th:href="@{'/photo/' + ${p.id}}">
|
||||
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
|
||||
</a>
|
||||
@@ -42,8 +42,8 @@
|
||||
|
||||
<h2>Mes photos partagées</h2>
|
||||
<div style="display:flex; gap:20px; flex-wrap:wrap;">
|
||||
<div th:each="p : ${mesPhotosPartagees.content}">
|
||||
<a th:href="@{'/photo/' + ${p.id}}">
|
||||
<div th:each="p : ${mesPhotosPartagees.content}" th:if="${p != null}">
|
||||
<a th:href="@{'/photo/' + ${p.id}}">
|
||||
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"
|
||||
style="display:block; border:1px solid #ccc;"/>
|
||||
</a>
|
||||
@@ -76,6 +76,7 @@
|
||||
<h2>Photos partagées avec moi</h2>
|
||||
<div>
|
||||
<a th:each="p : ${photosPartagees.content}"
|
||||
th:if="${p != null}"
|
||||
th:href="@{'/photo/' + ${p.id}}">
|
||||
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user